1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. vpclattice
  5. ServiceNetwork

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

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.vpclattice.ServiceNetwork

Explore with Pulumi AI

aws-native logo

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

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    A service network is a logical boundary for a collection of services. You can associate services and VPCs with a service network.

    Create ServiceNetwork Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ServiceNetwork(name: string, args?: ServiceNetworkArgs, opts?: CustomResourceOptions);
    @overload
    def ServiceNetwork(resource_name: str,
                       args: Optional[ServiceNetworkArgs] = None,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def ServiceNetwork(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       auth_type: Optional[ServiceNetworkAuthType] = None,
                       name: Optional[str] = None,
                       sharing_config: Optional[ServiceNetworkSharingConfigArgs] = None,
                       tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewServiceNetwork(ctx *Context, name string, args *ServiceNetworkArgs, opts ...ResourceOption) (*ServiceNetwork, error)
    public ServiceNetwork(string name, ServiceNetworkArgs? args = null, CustomResourceOptions? opts = null)
    public ServiceNetwork(String name, ServiceNetworkArgs args)
    public ServiceNetwork(String name, ServiceNetworkArgs args, CustomResourceOptions options)
    
    type: aws-native:vpclattice:ServiceNetwork
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ServiceNetworkArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ServiceNetworkArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ServiceNetworkArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServiceNetworkArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServiceNetworkArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    ServiceNetwork Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ServiceNetwork resource accepts the following input properties:

    AuthType Pulumi.AwsNative.VpcLattice.ServiceNetworkAuthType
    The type of IAM policy.

    • NONE : The resource does not use an IAM policy. This is the default.
    • AWS_IAM : The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
    Name string

    The name of the service network. The name must be unique to the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.

    If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.

    SharingConfig Pulumi.AwsNative.VpcLattice.Inputs.ServiceNetworkSharingConfig
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    The tags for the service network.
    AuthType ServiceNetworkAuthType
    The type of IAM policy.

    • NONE : The resource does not use an IAM policy. This is the default.
    • AWS_IAM : The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
    Name string

    The name of the service network. The name must be unique to the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.

    If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.

    SharingConfig ServiceNetworkSharingConfigArgs
    Tags TagArgs
    The tags for the service network.
    authType ServiceNetworkAuthType
    The type of IAM policy.

    • NONE : The resource does not use an IAM policy. This is the default.
    • AWS_IAM : The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
    name String

    The name of the service network. The name must be unique to the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.

    If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.

    sharingConfig ServiceNetworkSharingConfig
    tags List<Tag>
    The tags for the service network.
    authType ServiceNetworkAuthType
    The type of IAM policy.

    • NONE : The resource does not use an IAM policy. This is the default.
    • AWS_IAM : The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
    name string

    The name of the service network. The name must be unique to the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.

    If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.

    sharingConfig ServiceNetworkSharingConfig
    tags Tag[]
    The tags for the service network.
    auth_type ServiceNetworkAuthType
    The type of IAM policy.

    • NONE : The resource does not use an IAM policy. This is the default.
    • AWS_IAM : The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
    name str

    The name of the service network. The name must be unique to the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.

    If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.

    sharing_config ServiceNetworkSharingConfigArgs
    tags Sequence[TagArgs]
    The tags for the service network.
    authType "NONE" | "AWS_IAM"
    The type of IAM policy.

    • NONE : The resource does not use an IAM policy. This is the default.
    • AWS_IAM : The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
    name String

    The name of the service network. The name must be unique to the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.

    If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.

    sharingConfig Property Map
    tags List<Property Map>
    The tags for the service network.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ServiceNetwork resource produces the following output properties:

    Arn string
    The Amazon Resource Name (ARN) of the service network.
    AwsId string
    The ID of the service network.
    CreatedAt string
    The date and time that the service network was created, specified in ISO-8601 format.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedAt string
    The date and time of the last update, specified in ISO-8601 format.
    Arn string
    The Amazon Resource Name (ARN) of the service network.
    AwsId string
    The ID of the service network.
    CreatedAt string
    The date and time that the service network was created, specified in ISO-8601 format.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedAt string
    The date and time of the last update, specified in ISO-8601 format.
    arn String
    The Amazon Resource Name (ARN) of the service network.
    awsId String
    The ID of the service network.
    createdAt String
    The date and time that the service network was created, specified in ISO-8601 format.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedAt String
    The date and time of the last update, specified in ISO-8601 format.
    arn string
    The Amazon Resource Name (ARN) of the service network.
    awsId string
    The ID of the service network.
    createdAt string
    The date and time that the service network was created, specified in ISO-8601 format.
    id string
    The provider-assigned unique ID for this managed resource.
    lastUpdatedAt string
    The date and time of the last update, specified in ISO-8601 format.
    arn str
    The Amazon Resource Name (ARN) of the service network.
    aws_id str
    The ID of the service network.
    created_at str
    The date and time that the service network was created, specified in ISO-8601 format.
    id str
    The provider-assigned unique ID for this managed resource.
    last_updated_at str
    The date and time of the last update, specified in ISO-8601 format.
    arn String
    The Amazon Resource Name (ARN) of the service network.
    awsId String
    The ID of the service network.
    createdAt String
    The date and time that the service network was created, specified in ISO-8601 format.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedAt String
    The date and time of the last update, specified in ISO-8601 format.

    Supporting Types

    ServiceNetworkAuthType, ServiceNetworkAuthTypeArgs

    None
    NONE
    AwsIam
    AWS_IAM
    ServiceNetworkAuthTypeNone
    NONE
    ServiceNetworkAuthTypeAwsIam
    AWS_IAM
    None
    NONE
    AwsIam
    AWS_IAM
    None
    NONE
    AwsIam
    AWS_IAM
    NONE
    NONE
    AWS_IAM
    AWS_IAM
    "NONE"
    NONE
    "AWS_IAM"
    AWS_IAM

    ServiceNetworkSharingConfig, ServiceNetworkSharingConfigArgs

    Enabled bool
    Enabled bool
    enabled Boolean
    enabled boolean
    enabled bool
    enabled Boolean

    Tag, TagArgs

    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

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

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi