We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
aws-native.ec2.getSecurityGroupIngress
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
Resource Type definition for AWS::EC2::SecurityGroupIngress
Using getSecurityGroupIngress
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSecurityGroupIngress(args: GetSecurityGroupIngressArgs, opts?: InvokeOptions): Promise<GetSecurityGroupIngressResult>
function getSecurityGroupIngressOutput(args: GetSecurityGroupIngressOutputArgs, opts?: InvokeOptions): Output<GetSecurityGroupIngressResult>def get_security_group_ingress(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSecurityGroupIngressResult
def get_security_group_ingress_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSecurityGroupIngressResult]func LookupSecurityGroupIngress(ctx *Context, args *LookupSecurityGroupIngressArgs, opts ...InvokeOption) (*LookupSecurityGroupIngressResult, error)
func LookupSecurityGroupIngressOutput(ctx *Context, args *LookupSecurityGroupIngressOutputArgs, opts ...InvokeOption) LookupSecurityGroupIngressResultOutput> Note: This function is named LookupSecurityGroupIngress in the Go SDK.
public static class GetSecurityGroupIngress
{
public static Task<GetSecurityGroupIngressResult> InvokeAsync(GetSecurityGroupIngressArgs args, InvokeOptions? opts = null)
public static Output<GetSecurityGroupIngressResult> Invoke(GetSecurityGroupIngressInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSecurityGroupIngressResult> getSecurityGroupIngress(GetSecurityGroupIngressArgs args, InvokeOptions options)
public static Output<GetSecurityGroupIngressResult> getSecurityGroupIngress(GetSecurityGroupIngressArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:ec2:getSecurityGroupIngress
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- The Security Group Rule Id
- Id string
- The Security Group Rule Id
- id String
- The Security Group Rule Id
- id string
- The Security Group Rule Id
- id str
- The Security Group Rule Id
- id String
- The Security Group Rule Id
getSecurityGroupIngress Result
The following output properties are available:
- Description string
- Updates the description of an ingress (inbound) security group rule. You can replace an existing description, or add a description to a rule that did not have one previously
- Id string
- The Security Group Rule Id
- Description string
- Updates the description of an ingress (inbound) security group rule. You can replace an existing description, or add a description to a rule that did not have one previously
- Id string
- The Security Group Rule Id
- description String
- Updates the description of an ingress (inbound) security group rule. You can replace an existing description, or add a description to a rule that did not have one previously
- id String
- The Security Group Rule Id
- description string
- Updates the description of an ingress (inbound) security group rule. You can replace an existing description, or add a description to a rule that did not have one previously
- id string
- The Security Group Rule Id
- description str
- Updates the description of an ingress (inbound) security group rule. You can replace an existing description, or add a description to a rule that did not have one previously
- id str
- The Security Group Rule Id
- description String
- Updates the description of an ingress (inbound) security group rule. You can replace an existing description, or add a description to a rule that did not have one previously
- id String
- The Security Group Rule Id
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
