Loading TOC...

ec2:authorize-tcp-ingress

ec2:authorize-tcp-ingress(
   $access-key as xs:string,
   $secret-key as xs:string,
   $ec2-region as xs:string,
   $group-name as xs:string,
   $port-range as xs:integer+,
   $cidr-ip as xs:string
) as node()

Summary

This function calls the Amazon AuthorizeSecurityGroupIngress function and passes tcp as the IpPermissions.n.IpProtocol parameter.

Parameters
access-key Your Amazon Access Key ID obtained from your account's Security Credentials.
secret-key Your Amazon Secret Access Key obtained from your account's Security Credentials.
ec2-region The EC2 region you wish to manage. Determines the web service endpoint to be used. Example: "us-east-1"
group-name Sets the GroupName parameter on the Amazon function.
port-range Sets both the IpPermissions.n.FromPort and IpPermissions.n.ToPort parameters on the Amazon function. Specify value as (FromPort, ToPort).
cidr-ip Sets the CidrIp parameter on the Amazon function.

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.