We recommend new projects start with resources from the AWS provider.
aws-native.vpclattice.ServiceNetwork
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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,
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
The ServiceNetwork resource accepts the following input properties:
- Auth
Type Pulumi.Aws Native. Vpc Lattice. Service Network Auth Type - 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.
- List<Pulumi.
Aws Native. Inputs. Tag> - The tags for the service network.
- Auth
Type ServiceNetwork Auth Type - 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.
- Tag
Args - The tags for the service network.
- auth
Type ServiceNetwork Auth Type - 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.
- List<Tag>
- The tags for the service network.
- auth
Type ServiceNetwork Auth Type - 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.
- Tag[]
- The tags for the service network.
- auth_
type ServiceNetwork Auth Type - 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.
- Sequence[Tag
Args] - The tags for the service network.
- auth
Type "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.
- 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.
- Aws
Id string - The ID of the service network.
- Created
At 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.
- Last
Updated stringAt - The date and time of the last update, specified in ISO-8601 format.
- Arn string
- The Amazon Resource Name (ARN) of the service network.
- Aws
Id string - The ID of the service network.
- Created
At 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.
- Last
Updated stringAt - The date and time of the last update, specified in ISO-8601 format.
- arn String
- The Amazon Resource Name (ARN) of the service network.
- aws
Id String - The ID of the service network.
- created
At 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.
- last
Updated StringAt - The date and time of the last update, specified in ISO-8601 format.
- arn string
- The Amazon Resource Name (ARN) of the service network.
- aws
Id string - The ID of the service network.
- created
At 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.
- last
Updated stringAt - 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_ strat - The date and time of the last update, specified in ISO-8601 format.
- arn String
- The Amazon Resource Name (ARN) of the service network.
- aws
Id String - The ID of the service network.
- created
At 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.
- last
Updated StringAt - The date and time of the last update, specified in ISO-8601 format.
Supporting Types
ServiceNetworkAuthType, ServiceNetworkAuthTypeArgs
- None
- NONE
- Aws
Iam - AWS_IAM
- Service
Network Auth Type None - NONE
- Service
Network Auth Type Aws Iam - AWS_IAM
- None
- NONE
- Aws
Iam - AWS_IAM
- None
- NONE
- Aws
Iam - AWS_IAM
- NONE
- NONE
- AWS_IAM
- AWS_IAM
- "NONE"
- NONE
- "AWS_IAM"
- AWS_IAM
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.