1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. networksecuritymanager
  6. getScope

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi

    Resource Type definition for AWS::NetworkSecurityManager::Scope. Creates and manages a Network Security Manager scope.

    Using getScope

    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 getScope(args: GetScopeArgs, opts?: InvokeOptions): Promise<GetScopeResult>
    function getScopeOutput(args: GetScopeOutputArgs, opts?: InvokeOutputOptions): Output<GetScopeResult>
    def get_scope(scope_arn: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetScopeResult
    def get_scope_output(scope_arn: pulumi.Input[Optional[str]] = None,
                  opts: Optional[InvokeOutputOptions] = None) -> Output[GetScopeResult]
    func LookupScope(ctx *Context, args *LookupScopeArgs, opts ...InvokeOption) (*LookupScopeResult, error)
    func LookupScopeOutput(ctx *Context, args *LookupScopeOutputArgs, opts ...InvokeOption) LookupScopeResultOutput

    > Note: This function is named LookupScope in the Go SDK.

    public static class GetScope 
    {
        public static Task<GetScopeResult> InvokeAsync(GetScopeArgs args, InvokeOptions? opts = null)
        public static Output<GetScopeResult> Invoke(GetScopeInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetScopeResult> Invoke(GetScopeInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetScopeResult> getScope(GetScopeArgs args, InvokeOptions options)
    public static Output<GetScopeResult> getScope(GetScopeArgs args, InvokeOptions options)
    public static Output<GetScopeResult> getScope(GetScopeArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:networksecuritymanager:getScope
      arguments:
        # arguments dictionary
    data "aws-native_networksecuritymanager_get_scope" "name" {
        # arguments
    }

    The following arguments are supported:

    ScopeArn string
    The Amazon Resource Name (ARN) of the scope.
    ScopeArn string
    The Amazon Resource Name (ARN) of the scope.
    scope_arn string
    The Amazon Resource Name (ARN) of the scope.
    scopeArn String
    The Amazon Resource Name (ARN) of the scope.
    scopeArn string
    The Amazon Resource Name (ARN) of the scope.
    scope_arn str
    The Amazon Resource Name (ARN) of the scope.
    scopeArn String
    The Amazon Resource Name (ARN) of the scope.

    getScope Result

    The following output properties are available:

    ScopeArn string
    The Amazon Resource Name (ARN) of the scope.
    ScopeConfiguration string
    The scope configuration as a JSON string.
    ScopeDescription string
    A description of the scope.
    ScopeId string
    The unique identifier of the scope.
    Status Pulumi.AwsNative.NetworkSecurityManager.ScopeStatus
    The status of the scope.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    The tags associated with the scope.
    UpdatedAt string
    An ISO 8601 timestamp indicating when the scope was last modified.
    Version string
    The version number of the scope.
    ScopeArn string
    The Amazon Resource Name (ARN) of the scope.
    ScopeConfiguration string
    The scope configuration as a JSON string.
    ScopeDescription string
    A description of the scope.
    ScopeId string
    The unique identifier of the scope.
    Status ScopeStatus
    The status of the scope.
    Tags Tag
    The tags associated with the scope.
    UpdatedAt string
    An ISO 8601 timestamp indicating when the scope was last modified.
    Version string
    The version number of the scope.
    scope_arn string
    The Amazon Resource Name (ARN) of the scope.
    scope_configuration string
    The scope configuration as a JSON string.
    scope_description string
    A description of the scope.
    scope_id string
    The unique identifier of the scope.
    status "DRAFT" | "ACTIVE" | "DISABLED"
    The status of the scope.
    tags list(object)
    The tags associated with the scope.
    updated_at string
    An ISO 8601 timestamp indicating when the scope was last modified.
    version string
    The version number of the scope.
    scopeArn String
    The Amazon Resource Name (ARN) of the scope.
    scopeConfiguration String
    The scope configuration as a JSON string.
    scopeDescription String
    A description of the scope.
    scopeId String
    The unique identifier of the scope.
    status ScopeStatus
    The status of the scope.
    tags List<Tag>
    The tags associated with the scope.
    updatedAt String
    An ISO 8601 timestamp indicating when the scope was last modified.
    version String
    The version number of the scope.
    scopeArn string
    The Amazon Resource Name (ARN) of the scope.
    scopeConfiguration string
    The scope configuration as a JSON string.
    scopeDescription string
    A description of the scope.
    scopeId string
    The unique identifier of the scope.
    status ScopeStatus
    The status of the scope.
    tags Tag[]
    The tags associated with the scope.
    updatedAt string
    An ISO 8601 timestamp indicating when the scope was last modified.
    version string
    The version number of the scope.
    scope_arn str
    The Amazon Resource Name (ARN) of the scope.
    scope_configuration str
    The scope configuration as a JSON string.
    scope_description str
    A description of the scope.
    scope_id str
    The unique identifier of the scope.
    status ScopeStatus
    The status of the scope.
    tags Sequence[root_Tag]
    The tags associated with the scope.
    updated_at str
    An ISO 8601 timestamp indicating when the scope was last modified.
    version str
    The version number of the scope.
    scopeArn String
    The Amazon Resource Name (ARN) of the scope.
    scopeConfiguration String
    The scope configuration as a JSON string.
    scopeDescription String
    A description of the scope.
    scopeId String
    The unique identifier of the scope.
    status "DRAFT" | "ACTIVE" | "DISABLED"
    The status of the scope.
    tags List<Property Map>
    The tags associated with the scope.
    updatedAt String
    An ISO 8601 timestamp indicating when the scope was last modified.
    version String
    The version number of the scope.

    Supporting Types

    ScopeStatus

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.85.0
    published on Monday, Nov 2, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial