We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi
aws-native.ec2.getSecurityGroupIngress
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:ec2:getSecurityGroupIngress
arguments:
# arguments dictionary
The 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 Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi