awsx

package
v3.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2025 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bucket

type Bucket struct {
	// Sets the accelerate configuration of an existing bucket. Can be `Enabled` or `Suspended`. Cannot be used in `cn-north-1` or `us-gov-west-1`. This provider will only perform drift detection if a configuration value is provided.
	// Use the resource `aws.s3.BucketAccelerateConfiguration` instead.
	//
	// Deprecated: acceleration_status is deprecated. Use the aws.s3.BucketAccelerateConfiguration resource instead.
	AccelerationStatus *string `pulumi:"accelerationStatus"`
	// The [canned ACL](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl) to apply. Valid values are `private`, `public-read`, `public-read-write`, `aws-exec-read`, `authenticated-read`, and `log-delivery-write`. Defaults to `private`.  Conflicts with `grant`. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketAcl` instead.
	Acl *string `pulumi:"acl"`
	// Name of the bucket. If omitted, the provider will assign a random, unique name. Must be lowercase and less than or equal to 63 characters in length. A full list of bucket naming rules [may be found here](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html). The name must not be in the format `[bucket_name]--[azid]--x-s3`. Use the `aws.s3.DirectoryBucket` resource to manage S3 Express buckets.
	Bucket *string `pulumi:"bucket"`
	// Creates a unique bucket name beginning with the specified prefix. Conflicts with `bucket`. Must be lowercase and less than or equal to 37 characters in length. A full list of bucket naming rules [may be found here](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html).
	BucketPrefix *string `pulumi:"bucketPrefix"`
	// Rule of [Cross-Origin Resource Sharing](https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html). See CORS rule below for details. This provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketCorsConfiguration` instead.
	//
	// Deprecated: cors_rule is deprecated. Use the aws.s3.BucketCorsConfiguration resource instead.
	CorsRules []s3.BucketCorsRule `pulumi:"corsRules"`
	// Boolean that indicates all objects (including any [locked objects](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.html)) should be deleted from the bucket *when the bucket is destroyed* so that the bucket can be destroyed without error. These objects are *not* recoverable. This only deletes objects when the bucket is destroyed, *not* when setting this parameter to `true`. Once this parameter is set to `true`, there must be a successful `pulumi up` run before a destroy is required to update this value in the resource state. Without a successful `pulumi up` after this parameter is set, this flag will have no effect. If setting this field in the same operation that would require replacing the bucket or destroying the bucket, this flag will not work. Additionally when importing a bucket, a successful `pulumi up` is required to set this value in state before it will take effect on a destroy operation.
	ForceDestroy *bool `pulumi:"forceDestroy"`
	// An [ACL policy grant](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#sample-acl). See Grant below for details. Conflicts with `acl`. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketAcl` instead.
	//
	// Deprecated: grant is deprecated. Use the aws.s3.BucketAcl resource instead.
	Grants []s3.BucketGrant `pulumi:"grants"`
	// Configuration of [object lifecycle management](http://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html). See Lifecycle Rule below for details. The provider will only perform drift detection if a configuration value is provided.
	// Use the resource `aws.s3.BucketLifecycleConfiguration` instead.
	//
	// Deprecated: lifecycle_rule is deprecated. Use the aws.s3.BucketLifecycleConfiguration resource instead.
	LifecycleRules []s3.BucketLifecycleRule `pulumi:"lifecycleRules"`
	// Configuration of [S3 bucket logging](https://docs.aws.amazon.com/AmazonS3/latest/UG/ManagingBucketLogging.html) parameters. See Logging below for details. The provider will only perform drift detection if a configuration value is provided.
	// Use the resource `aws.s3.BucketLogging` instead.
	//
	// Deprecated: logging is deprecated. Use the aws.s3.BucketLogging resource instead.
	Logging *s3.BucketLoggingType `pulumi:"logging"`
	// Configuration of [S3 object locking](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html). See Object Lock Configuration below for details.
	// The provider wil only perform drift detection if a configuration value is provided.
	// Use the `object_lock_enabled` parameter and the resource `aws.s3.BucketObjectLockConfiguration` instead.
	//
	// Deprecated: object_lock_configuration is deprecated. Use the top-level parameter object_lock_enabled and the aws.s3.BucketObjectLockConfiguration resource instead.
	ObjectLockConfiguration *s3.BucketObjectLockConfigurationType `pulumi:"objectLockConfiguration"`
	// Indicates whether this bucket has an Object Lock configuration enabled. Valid values are `true` or `false`. This argument is not supported in all regions or partitions.
	ObjectLockEnabled *bool `pulumi:"objectLockEnabled"`
	// Valid [bucket policy](https://docs.aws.amazon.com/AmazonS3/latest/dev/example-bucket-policies.html) JSON document. Note that if the policy document is not specific enough (but still valid), this provider may view the policy as constantly changing. In this case, please make sure you use the verbose/specific version of the policy. For more information about building AWS IAM policy documents with this provider, see the AWS IAM Policy Document Guide.
	// The provider will only perform drift detection if a configuration value is provided.
	// Use the resource `aws.s3.BucketPolicy` instead.
	Policy *string `pulumi:"policy"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region *string `pulumi:"region"`
	// Configuration of [replication configuration](http://docs.aws.amazon.com/AmazonS3/latest/dev/crr.html). See Replication Configuration below for details. The provider will only perform drift detection if a configuration value is provided.
	// Use the resource `aws.s3.BucketReplicationConfig` instead.
	//
	// Deprecated: replication_configuration is deprecated. Use the aws.s3.BucketReplicationConfig resource instead.
	ReplicationConfiguration *s3.BucketReplicationConfiguration `pulumi:"replicationConfiguration"`
	// Specifies who should bear the cost of Amazon S3 data transfer.
	// Can be either `BucketOwner` or `Requester`. By default, the owner of the S3 bucket would incur the costs of any data transfer.
	// See [Requester Pays Buckets](http://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html) developer guide for more information.
	// The provider will only perform drift detection if a configuration value is provided.
	// Use the resource `aws.s3.BucketRequestPaymentConfiguration` instead.
	//
	// Deprecated: request_payer is deprecated. Use the aws.s3.BucketRequestPaymentConfiguration resource instead.
	RequestPayer *string `pulumi:"requestPayer"`
	// Configuration of [server-side encryption configuration](http://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html). See Server Side Encryption Configuration below for details.
	// The provider will only perform drift detection if a configuration value is provided.
	// Use the resource `aws.s3.BucketServerSideEncryptionConfiguration` instead.
	//
	// Deprecated: server_side_encryption_configuration is deprecated. Use the aws.s3.BucketServerSideEncryptionConfiguration resource instead.
	ServerSideEncryptionConfiguration *s3.BucketServerSideEncryptionConfigurationType `pulumi:"serverSideEncryptionConfiguration"`
	// Map of tags to assign to the bucket. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	//
	// The following arguments are deprecated, and will be removed in a future major version:
	Tags map[string]string `pulumi:"tags"`
	// Configuration of the [S3 bucket versioning state](https://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html). See Versioning below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketVersioning` instead.
	//
	// Deprecated: versioning is deprecated. Use the aws.s3.BucketVersioning resource instead.
	Versioning *s3.BucketVersioningType `pulumi:"versioning"`
	// Configuration of the [S3 bucket website](https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteHosting.html). See Website below for details. The provider will only perform drift detection if a configuration value is provided.
	// Use the resource `aws.s3.BucketWebsiteConfiguration` instead.
	//
	// Deprecated: website is deprecated. Use the aws.s3.BucketWebsiteConfiguration resource instead.
	Website *s3.BucketWebsite `pulumi:"website"`
}

The set of arguments for constructing a Bucket resource.

type BucketArgs

type BucketArgs struct {
	// Sets the accelerate configuration of an existing bucket. Can be `Enabled` or `Suspended`. Cannot be used in `cn-north-1` or `us-gov-west-1`. This provider will only perform drift detection if a configuration value is provided.
	// Use the resource `aws.s3.BucketAccelerateConfiguration` instead.
	//
	// Deprecated: acceleration_status is deprecated. Use the aws.s3.BucketAccelerateConfiguration resource instead.
	AccelerationStatus pulumi.StringPtrInput `pulumi:"accelerationStatus"`
	// The [canned ACL](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl) to apply. Valid values are `private`, `public-read`, `public-read-write`, `aws-exec-read`, `authenticated-read`, and `log-delivery-write`. Defaults to `private`.  Conflicts with `grant`. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketAcl` instead.
	Acl pulumi.StringPtrInput `pulumi:"acl"`
	// Name of the bucket. If omitted, the provider will assign a random, unique name. Must be lowercase and less than or equal to 63 characters in length. A full list of bucket naming rules [may be found here](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html). The name must not be in the format `[bucket_name]--[azid]--x-s3`. Use the `aws.s3.DirectoryBucket` resource to manage S3 Express buckets.
	Bucket pulumi.StringPtrInput `pulumi:"bucket"`
	// Creates a unique bucket name beginning with the specified prefix. Conflicts with `bucket`. Must be lowercase and less than or equal to 37 characters in length. A full list of bucket naming rules [may be found here](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html).
	BucketPrefix pulumi.StringPtrInput `pulumi:"bucketPrefix"`
	// Rule of [Cross-Origin Resource Sharing](https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html). See CORS rule below for details. This provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketCorsConfiguration` instead.
	//
	// Deprecated: cors_rule is deprecated. Use the aws.s3.BucketCorsConfiguration resource instead.
	CorsRules s3.BucketCorsRuleArrayInput `pulumi:"corsRules"`
	// Boolean that indicates all objects (including any [locked objects](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.html)) should be deleted from the bucket *when the bucket is destroyed* so that the bucket can be destroyed without error. These objects are *not* recoverable. This only deletes objects when the bucket is destroyed, *not* when setting this parameter to `true`. Once this parameter is set to `true`, there must be a successful `pulumi up` run before a destroy is required to update this value in the resource state. Without a successful `pulumi up` after this parameter is set, this flag will have no effect. If setting this field in the same operation that would require replacing the bucket or destroying the bucket, this flag will not work. Additionally when importing a bucket, a successful `pulumi up` is required to set this value in state before it will take effect on a destroy operation.
	ForceDestroy pulumi.BoolPtrInput `pulumi:"forceDestroy"`
	// An [ACL policy grant](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#sample-acl). See Grant below for details. Conflicts with `acl`. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketAcl` instead.
	//
	// Deprecated: grant is deprecated. Use the aws.s3.BucketAcl resource instead.
	Grants s3.BucketGrantArrayInput `pulumi:"grants"`
	// Configuration of [object lifecycle management](http://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html). See Lifecycle Rule below for details. The provider will only perform drift detection if a configuration value is provided.
	// Use the resource `aws.s3.BucketLifecycleConfiguration` instead.
	//
	// Deprecated: lifecycle_rule is deprecated. Use the aws.s3.BucketLifecycleConfiguration resource instead.
	LifecycleRules s3.BucketLifecycleRuleArrayInput `pulumi:"lifecycleRules"`
	// Configuration of [S3 bucket logging](https://docs.aws.amazon.com/AmazonS3/latest/UG/ManagingBucketLogging.html) parameters. See Logging below for details. The provider will only perform drift detection if a configuration value is provided.
	// Use the resource `aws.s3.BucketLogging` instead.
	//
	// Deprecated: logging is deprecated. Use the aws.s3.BucketLogging resource instead.
	Logging s3.BucketLoggingTypePtrInput `pulumi:"logging"`
	// Configuration of [S3 object locking](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html). See Object Lock Configuration below for details.
	// The provider wil only perform drift detection if a configuration value is provided.
	// Use the `object_lock_enabled` parameter and the resource `aws.s3.BucketObjectLockConfiguration` instead.
	//
	// Deprecated: object_lock_configuration is deprecated. Use the top-level parameter object_lock_enabled and the aws.s3.BucketObjectLockConfiguration resource instead.
	ObjectLockConfiguration s3.BucketObjectLockConfigurationTypePtrInput `pulumi:"objectLockConfiguration"`
	// Indicates whether this bucket has an Object Lock configuration enabled. Valid values are `true` or `false`. This argument is not supported in all regions or partitions.
	ObjectLockEnabled pulumi.BoolPtrInput `pulumi:"objectLockEnabled"`
	// Valid [bucket policy](https://docs.aws.amazon.com/AmazonS3/latest/dev/example-bucket-policies.html) JSON document. Note that if the policy document is not specific enough (but still valid), this provider may view the policy as constantly changing. In this case, please make sure you use the verbose/specific version of the policy. For more information about building AWS IAM policy documents with this provider, see the AWS IAM Policy Document Guide.
	// The provider will only perform drift detection if a configuration value is provided.
	// Use the resource `aws.s3.BucketPolicy` instead.
	Policy pulumi.StringPtrInput `pulumi:"policy"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// Configuration of [replication configuration](http://docs.aws.amazon.com/AmazonS3/latest/dev/crr.html). See Replication Configuration below for details. The provider will only perform drift detection if a configuration value is provided.
	// Use the resource `aws.s3.BucketReplicationConfig` instead.
	//
	// Deprecated: replication_configuration is deprecated. Use the aws.s3.BucketReplicationConfig resource instead.
	ReplicationConfiguration s3.BucketReplicationConfigurationPtrInput `pulumi:"replicationConfiguration"`
	// Specifies who should bear the cost of Amazon S3 data transfer.
	// Can be either `BucketOwner` or `Requester`. By default, the owner of the S3 bucket would incur the costs of any data transfer.
	// See [Requester Pays Buckets](http://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html) developer guide for more information.
	// The provider will only perform drift detection if a configuration value is provided.
	// Use the resource `aws.s3.BucketRequestPaymentConfiguration` instead.
	//
	// Deprecated: request_payer is deprecated. Use the aws.s3.BucketRequestPaymentConfiguration resource instead.
	RequestPayer pulumi.StringPtrInput `pulumi:"requestPayer"`
	// Configuration of [server-side encryption configuration](http://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html). See Server Side Encryption Configuration below for details.
	// The provider will only perform drift detection if a configuration value is provided.
	// Use the resource `aws.s3.BucketServerSideEncryptionConfiguration` instead.
	//
	// Deprecated: server_side_encryption_configuration is deprecated. Use the aws.s3.BucketServerSideEncryptionConfiguration resource instead.
	ServerSideEncryptionConfiguration s3.BucketServerSideEncryptionConfigurationTypePtrInput `pulumi:"serverSideEncryptionConfiguration"`
	// Map of tags to assign to the bucket. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	//
	// The following arguments are deprecated, and will be removed in a future major version:
	Tags pulumi.StringMapInput `pulumi:"tags"`
	// Configuration of the [S3 bucket versioning state](https://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html). See Versioning below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketVersioning` instead.
	//
	// Deprecated: versioning is deprecated. Use the aws.s3.BucketVersioning resource instead.
	Versioning s3.BucketVersioningTypePtrInput `pulumi:"versioning"`
	// Configuration of the [S3 bucket website](https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteHosting.html). See Website below for details. The provider will only perform drift detection if a configuration value is provided.
	// Use the resource `aws.s3.BucketWebsiteConfiguration` instead.
	//
	// Deprecated: website is deprecated. Use the aws.s3.BucketWebsiteConfiguration resource instead.
	Website s3.BucketWebsitePtrInput `pulumi:"website"`
}

The set of arguments for constructing a Bucket resource.

func (BucketArgs) ElementType

func (BucketArgs) ElementType() reflect.Type

func (BucketArgs) ToBucketOutput

func (i BucketArgs) ToBucketOutput() BucketOutput

func (BucketArgs) ToBucketOutputWithContext

func (i BucketArgs) ToBucketOutputWithContext(ctx context.Context) BucketOutput

func (BucketArgs) ToBucketPtrOutput

func (i BucketArgs) ToBucketPtrOutput() BucketPtrOutput

func (BucketArgs) ToBucketPtrOutputWithContext

func (i BucketArgs) ToBucketPtrOutputWithContext(ctx context.Context) BucketPtrOutput

type BucketInput

type BucketInput interface {
	pulumi.Input

	ToBucketOutput() BucketOutput
	ToBucketOutputWithContext(context.Context) BucketOutput
}

BucketInput is an input type that accepts BucketArgs and BucketOutput values. You can construct a concrete instance of `BucketInput` via:

BucketArgs{...}

type BucketOutput

type BucketOutput struct{ *pulumi.OutputState }

The set of arguments for constructing a Bucket resource.

func (BucketOutput) AccelerationStatus deprecated

func (o BucketOutput) AccelerationStatus() pulumi.StringPtrOutput

Sets the accelerate configuration of an existing bucket. Can be `Enabled` or `Suspended`. Cannot be used in `cn-north-1` or `us-gov-west-1`. This provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketAccelerateConfiguration` instead.

Deprecated: acceleration_status is deprecated. Use the aws.s3.BucketAccelerateConfiguration resource instead.

func (BucketOutput) Acl

The [canned ACL](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl) to apply. Valid values are `private`, `public-read`, `public-read-write`, `aws-exec-read`, `authenticated-read`, and `log-delivery-write`. Defaults to `private`. Conflicts with `grant`. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketAcl` instead.

func (BucketOutput) Bucket

func (o BucketOutput) Bucket() pulumi.StringPtrOutput

Name of the bucket. If omitted, the provider will assign a random, unique name. Must be lowercase and less than or equal to 63 characters in length. A full list of bucket naming rules [may be found here](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html). The name must not be in the format `[bucket_name]--[azid]--x-s3`. Use the `aws.s3.DirectoryBucket` resource to manage S3 Express buckets.

func (BucketOutput) BucketPrefix

func (o BucketOutput) BucketPrefix() pulumi.StringPtrOutput

Creates a unique bucket name beginning with the specified prefix. Conflicts with `bucket`. Must be lowercase and less than or equal to 37 characters in length. A full list of bucket naming rules [may be found here](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html).

func (BucketOutput) CorsRules deprecated

Rule of [Cross-Origin Resource Sharing](https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html). See CORS rule below for details. This provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketCorsConfiguration` instead.

Deprecated: cors_rule is deprecated. Use the aws.s3.BucketCorsConfiguration resource instead.

func (BucketOutput) ElementType

func (BucketOutput) ElementType() reflect.Type

func (BucketOutput) ForceDestroy

func (o BucketOutput) ForceDestroy() pulumi.BoolPtrOutput

Boolean that indicates all objects (including any [locked objects](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.html)) should be deleted from the bucket *when the bucket is destroyed* so that the bucket can be destroyed without error. These objects are *not* recoverable. This only deletes objects when the bucket is destroyed, *not* when setting this parameter to `true`. Once this parameter is set to `true`, there must be a successful `pulumi up` run before a destroy is required to update this value in the resource state. Without a successful `pulumi up` after this parameter is set, this flag will have no effect. If setting this field in the same operation that would require replacing the bucket or destroying the bucket, this flag will not work. Additionally when importing a bucket, a successful `pulumi up` is required to set this value in state before it will take effect on a destroy operation.

func (BucketOutput) Grants deprecated

An [ACL policy grant](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#sample-acl). See Grant below for details. Conflicts with `acl`. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketAcl` instead.

Deprecated: grant is deprecated. Use the aws.s3.BucketAcl resource instead.

func (BucketOutput) LifecycleRules deprecated

func (o BucketOutput) LifecycleRules() s3.BucketLifecycleRuleArrayOutput

Configuration of [object lifecycle management](http://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html). See Lifecycle Rule below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketLifecycleConfiguration` instead.

Deprecated: lifecycle_rule is deprecated. Use the aws.s3.BucketLifecycleConfiguration resource instead.

func (BucketOutput) Logging deprecated

Configuration of [S3 bucket logging](https://docs.aws.amazon.com/AmazonS3/latest/UG/ManagingBucketLogging.html) parameters. See Logging below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketLogging` instead.

Deprecated: logging is deprecated. Use the aws.s3.BucketLogging resource instead.

func (BucketOutput) ObjectLockConfiguration deprecated

func (o BucketOutput) ObjectLockConfiguration() s3.BucketObjectLockConfigurationTypePtrOutput

Configuration of [S3 object locking](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html). See Object Lock Configuration below for details. The provider wil only perform drift detection if a configuration value is provided. Use the `object_lock_enabled` parameter and the resource `aws.s3.BucketObjectLockConfiguration` instead.

Deprecated: object_lock_configuration is deprecated. Use the top-level parameter object_lock_enabled and the aws.s3.BucketObjectLockConfiguration resource instead.

func (BucketOutput) ObjectLockEnabled

func (o BucketOutput) ObjectLockEnabled() pulumi.BoolPtrOutput

Indicates whether this bucket has an Object Lock configuration enabled. Valid values are `true` or `false`. This argument is not supported in all regions or partitions.

func (BucketOutput) Policy

func (o BucketOutput) Policy() pulumi.StringPtrOutput

Valid [bucket policy](https://docs.aws.amazon.com/AmazonS3/latest/dev/example-bucket-policies.html) JSON document. Note that if the policy document is not specific enough (but still valid), this provider may view the policy as constantly changing. In this case, please make sure you use the verbose/specific version of the policy. For more information about building AWS IAM policy documents with this provider, see the AWS IAM Policy Document Guide. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketPolicy` instead.

func (BucketOutput) Region

func (o BucketOutput) Region() pulumi.StringPtrOutput

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (BucketOutput) ReplicationConfiguration deprecated

func (o BucketOutput) ReplicationConfiguration() s3.BucketReplicationConfigurationPtrOutput

Configuration of [replication configuration](http://docs.aws.amazon.com/AmazonS3/latest/dev/crr.html). See Replication Configuration below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketReplicationConfig` instead.

Deprecated: replication_configuration is deprecated. Use the aws.s3.BucketReplicationConfig resource instead.

func (BucketOutput) RequestPayer deprecated

func (o BucketOutput) RequestPayer() pulumi.StringPtrOutput

Specifies who should bear the cost of Amazon S3 data transfer. Can be either `BucketOwner` or `Requester`. By default, the owner of the S3 bucket would incur the costs of any data transfer. See [Requester Pays Buckets](http://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html) developer guide for more information. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketRequestPaymentConfiguration` instead.

Deprecated: request_payer is deprecated. Use the aws.s3.BucketRequestPaymentConfiguration resource instead.

func (BucketOutput) ServerSideEncryptionConfiguration deprecated

func (o BucketOutput) ServerSideEncryptionConfiguration() s3.BucketServerSideEncryptionConfigurationTypePtrOutput

Configuration of [server-side encryption configuration](http://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html). See Server Side Encryption Configuration below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketServerSideEncryptionConfiguration` instead.

Deprecated: server_side_encryption_configuration is deprecated. Use the aws.s3.BucketServerSideEncryptionConfiguration resource instead.

func (BucketOutput) Tags

Map of tags to assign to the bucket. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

The following arguments are deprecated, and will be removed in a future major version:

func (BucketOutput) ToBucketOutput

func (o BucketOutput) ToBucketOutput() BucketOutput

func (BucketOutput) ToBucketOutputWithContext

func (o BucketOutput) ToBucketOutputWithContext(ctx context.Context) BucketOutput

func (BucketOutput) ToBucketPtrOutput

func (o BucketOutput) ToBucketPtrOutput() BucketPtrOutput

func (BucketOutput) ToBucketPtrOutputWithContext

func (o BucketOutput) ToBucketPtrOutputWithContext(ctx context.Context) BucketPtrOutput

func (BucketOutput) Versioning deprecated

Configuration of the [S3 bucket versioning state](https://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html). See Versioning below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketVersioning` instead.

Deprecated: versioning is deprecated. Use the aws.s3.BucketVersioning resource instead.

func (BucketOutput) Website deprecated

Configuration of the [S3 bucket website](https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteHosting.html). See Website below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketWebsiteConfiguration` instead.

Deprecated: website is deprecated. Use the aws.s3.BucketWebsiteConfiguration resource instead.

type BucketPtrInput

type BucketPtrInput interface {
	pulumi.Input

	ToBucketPtrOutput() BucketPtrOutput
	ToBucketPtrOutputWithContext(context.Context) BucketPtrOutput
}

BucketPtrInput is an input type that accepts BucketArgs, BucketPtr and BucketPtrOutput values. You can construct a concrete instance of `BucketPtrInput` via:

        BucketArgs{...}

or:

        nil

func BucketPtr

func BucketPtr(v *BucketArgs) BucketPtrInput

type BucketPtrOutput

type BucketPtrOutput struct{ *pulumi.OutputState }

func (BucketPtrOutput) AccelerationStatus deprecated

func (o BucketPtrOutput) AccelerationStatus() pulumi.StringPtrOutput

Sets the accelerate configuration of an existing bucket. Can be `Enabled` or `Suspended`. Cannot be used in `cn-north-1` or `us-gov-west-1`. This provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketAccelerateConfiguration` instead.

Deprecated: acceleration_status is deprecated. Use the aws.s3.BucketAccelerateConfiguration resource instead.

func (BucketPtrOutput) Acl

The [canned ACL](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl) to apply. Valid values are `private`, `public-read`, `public-read-write`, `aws-exec-read`, `authenticated-read`, and `log-delivery-write`. Defaults to `private`. Conflicts with `grant`. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketAcl` instead.

func (BucketPtrOutput) Bucket

Name of the bucket. If omitted, the provider will assign a random, unique name. Must be lowercase and less than or equal to 63 characters in length. A full list of bucket naming rules [may be found here](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html). The name must not be in the format `[bucket_name]--[azid]--x-s3`. Use the `aws.s3.DirectoryBucket` resource to manage S3 Express buckets.

func (BucketPtrOutput) BucketPrefix

func (o BucketPtrOutput) BucketPrefix() pulumi.StringPtrOutput

Creates a unique bucket name beginning with the specified prefix. Conflicts with `bucket`. Must be lowercase and less than or equal to 37 characters in length. A full list of bucket naming rules [may be found here](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html).

func (BucketPtrOutput) CorsRules deprecated

Rule of [Cross-Origin Resource Sharing](https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html). See CORS rule below for details. This provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketCorsConfiguration` instead.

Deprecated: cors_rule is deprecated. Use the aws.s3.BucketCorsConfiguration resource instead.

func (BucketPtrOutput) Elem

func (o BucketPtrOutput) Elem() BucketOutput

func (BucketPtrOutput) ElementType

func (BucketPtrOutput) ElementType() reflect.Type

func (BucketPtrOutput) ForceDestroy

func (o BucketPtrOutput) ForceDestroy() pulumi.BoolPtrOutput

Boolean that indicates all objects (including any [locked objects](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.html)) should be deleted from the bucket *when the bucket is destroyed* so that the bucket can be destroyed without error. These objects are *not* recoverable. This only deletes objects when the bucket is destroyed, *not* when setting this parameter to `true`. Once this parameter is set to `true`, there must be a successful `pulumi up` run before a destroy is required to update this value in the resource state. Without a successful `pulumi up` after this parameter is set, this flag will have no effect. If setting this field in the same operation that would require replacing the bucket or destroying the bucket, this flag will not work. Additionally when importing a bucket, a successful `pulumi up` is required to set this value in state before it will take effect on a destroy operation.

func (BucketPtrOutput) Grants deprecated

An [ACL policy grant](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#sample-acl). See Grant below for details. Conflicts with `acl`. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketAcl` instead.

Deprecated: grant is deprecated. Use the aws.s3.BucketAcl resource instead.

func (BucketPtrOutput) LifecycleRules deprecated

Configuration of [object lifecycle management](http://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html). See Lifecycle Rule below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketLifecycleConfiguration` instead.

Deprecated: lifecycle_rule is deprecated. Use the aws.s3.BucketLifecycleConfiguration resource instead.

func (BucketPtrOutput) Logging deprecated

Configuration of [S3 bucket logging](https://docs.aws.amazon.com/AmazonS3/latest/UG/ManagingBucketLogging.html) parameters. See Logging below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketLogging` instead.

Deprecated: logging is deprecated. Use the aws.s3.BucketLogging resource instead.

func (BucketPtrOutput) ObjectLockConfiguration deprecated

Configuration of [S3 object locking](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html). See Object Lock Configuration below for details. The provider wil only perform drift detection if a configuration value is provided. Use the `object_lock_enabled` parameter and the resource `aws.s3.BucketObjectLockConfiguration` instead.

Deprecated: object_lock_configuration is deprecated. Use the top-level parameter object_lock_enabled and the aws.s3.BucketObjectLockConfiguration resource instead.

func (BucketPtrOutput) ObjectLockEnabled

func (o BucketPtrOutput) ObjectLockEnabled() pulumi.BoolPtrOutput

Indicates whether this bucket has an Object Lock configuration enabled. Valid values are `true` or `false`. This argument is not supported in all regions or partitions.

func (BucketPtrOutput) Policy

Valid [bucket policy](https://docs.aws.amazon.com/AmazonS3/latest/dev/example-bucket-policies.html) JSON document. Note that if the policy document is not specific enough (but still valid), this provider may view the policy as constantly changing. In this case, please make sure you use the verbose/specific version of the policy. For more information about building AWS IAM policy documents with this provider, see the AWS IAM Policy Document Guide. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketPolicy` instead.

func (BucketPtrOutput) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (BucketPtrOutput) ReplicationConfiguration deprecated

func (o BucketPtrOutput) ReplicationConfiguration() s3.BucketReplicationConfigurationPtrOutput

Configuration of [replication configuration](http://docs.aws.amazon.com/AmazonS3/latest/dev/crr.html). See Replication Configuration below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketReplicationConfig` instead.

Deprecated: replication_configuration is deprecated. Use the aws.s3.BucketReplicationConfig resource instead.

func (BucketPtrOutput) RequestPayer deprecated

func (o BucketPtrOutput) RequestPayer() pulumi.StringPtrOutput

Specifies who should bear the cost of Amazon S3 data transfer. Can be either `BucketOwner` or `Requester`. By default, the owner of the S3 bucket would incur the costs of any data transfer. See [Requester Pays Buckets](http://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html) developer guide for more information. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketRequestPaymentConfiguration` instead.

Deprecated: request_payer is deprecated. Use the aws.s3.BucketRequestPaymentConfiguration resource instead.

func (BucketPtrOutput) ServerSideEncryptionConfiguration deprecated

func (o BucketPtrOutput) ServerSideEncryptionConfiguration() s3.BucketServerSideEncryptionConfigurationTypePtrOutput

Configuration of [server-side encryption configuration](http://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html). See Server Side Encryption Configuration below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketServerSideEncryptionConfiguration` instead.

Deprecated: server_side_encryption_configuration is deprecated. Use the aws.s3.BucketServerSideEncryptionConfiguration resource instead.

func (BucketPtrOutput) Tags

Map of tags to assign to the bucket. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

The following arguments are deprecated, and will be removed in a future major version:

func (BucketPtrOutput) ToBucketPtrOutput

func (o BucketPtrOutput) ToBucketPtrOutput() BucketPtrOutput

func (BucketPtrOutput) ToBucketPtrOutputWithContext

func (o BucketPtrOutput) ToBucketPtrOutputWithContext(ctx context.Context) BucketPtrOutput

func (BucketPtrOutput) Versioning deprecated

Configuration of the [S3 bucket versioning state](https://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html). See Versioning below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketVersioning` instead.

Deprecated: versioning is deprecated. Use the aws.s3.BucketVersioning resource instead.

func (BucketPtrOutput) Website deprecated

Configuration of the [S3 bucket website](https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteHosting.html). See Website below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketWebsiteConfiguration` instead.

Deprecated: website is deprecated. Use the aws.s3.BucketWebsiteConfiguration resource instead.

type DefaultBucket

type DefaultBucket struct {
	// Arguments to use instead of the default values during creation.
	Args *Bucket `pulumi:"args"`
	// Identity of an existing bucket to use. Cannot be used in combination with `args`.
	Existing *ExistingBucket `pulumi:"existing"`
	// Skip creation of the bucket.
	Skip *bool `pulumi:"skip"`
}

Bucket with default setup unless explicitly skipped.

type DefaultLogGroup

type DefaultLogGroup struct {
	// Arguments to use instead of the default values during creation.
	Args *LogGroup `pulumi:"args"`
	// Identity of an existing log group to use. Cannot be used in combination with `args` or `opts`.
	Existing *ExistingLogGroup `pulumi:"existing"`
	// Skip creation of the log group.
	Skip *bool `pulumi:"skip"`
}

Log group with default setup unless explicitly skipped.

type DefaultLogGroupArgs

type DefaultLogGroupArgs struct {
	// Arguments to use instead of the default values during creation.
	Args *LogGroupArgs `pulumi:"args"`
	// Identity of an existing log group to use. Cannot be used in combination with `args` or `opts`.
	Existing *ExistingLogGroupArgs `pulumi:"existing"`
	// Skip creation of the log group.
	Skip *bool `pulumi:"skip"`
}

Log group with default setup unless explicitly skipped.

func (DefaultLogGroupArgs) ElementType

func (DefaultLogGroupArgs) ElementType() reflect.Type

func (DefaultLogGroupArgs) ToDefaultLogGroupOutput

func (i DefaultLogGroupArgs) ToDefaultLogGroupOutput() DefaultLogGroupOutput

func (DefaultLogGroupArgs) ToDefaultLogGroupOutputWithContext

func (i DefaultLogGroupArgs) ToDefaultLogGroupOutputWithContext(ctx context.Context) DefaultLogGroupOutput

func (DefaultLogGroupArgs) ToDefaultLogGroupPtrOutput

func (i DefaultLogGroupArgs) ToDefaultLogGroupPtrOutput() DefaultLogGroupPtrOutput

func (DefaultLogGroupArgs) ToDefaultLogGroupPtrOutputWithContext

func (i DefaultLogGroupArgs) ToDefaultLogGroupPtrOutputWithContext(ctx context.Context) DefaultLogGroupPtrOutput

type DefaultLogGroupInput

type DefaultLogGroupInput interface {
	pulumi.Input

	ToDefaultLogGroupOutput() DefaultLogGroupOutput
	ToDefaultLogGroupOutputWithContext(context.Context) DefaultLogGroupOutput
}

DefaultLogGroupInput is an input type that accepts DefaultLogGroupArgs and DefaultLogGroupOutput values. You can construct a concrete instance of `DefaultLogGroupInput` via:

DefaultLogGroupArgs{...}

type DefaultLogGroupOutput

type DefaultLogGroupOutput struct{ *pulumi.OutputState }

Log group with default setup unless explicitly skipped.

func (DefaultLogGroupOutput) Args

Arguments to use instead of the default values during creation.

func (DefaultLogGroupOutput) ElementType

func (DefaultLogGroupOutput) ElementType() reflect.Type

func (DefaultLogGroupOutput) Existing

Identity of an existing log group to use. Cannot be used in combination with `args` or `opts`.

func (DefaultLogGroupOutput) Skip

Skip creation of the log group.

func (DefaultLogGroupOutput) ToDefaultLogGroupOutput

func (o DefaultLogGroupOutput) ToDefaultLogGroupOutput() DefaultLogGroupOutput

func (DefaultLogGroupOutput) ToDefaultLogGroupOutputWithContext

func (o DefaultLogGroupOutput) ToDefaultLogGroupOutputWithContext(ctx context.Context) DefaultLogGroupOutput

func (DefaultLogGroupOutput) ToDefaultLogGroupPtrOutput

func (o DefaultLogGroupOutput) ToDefaultLogGroupPtrOutput() DefaultLogGroupPtrOutput

func (DefaultLogGroupOutput) ToDefaultLogGroupPtrOutputWithContext

func (o DefaultLogGroupOutput) ToDefaultLogGroupPtrOutputWithContext(ctx context.Context) DefaultLogGroupPtrOutput

type DefaultLogGroupPtrInput

type DefaultLogGroupPtrInput interface {
	pulumi.Input

	ToDefaultLogGroupPtrOutput() DefaultLogGroupPtrOutput
	ToDefaultLogGroupPtrOutputWithContext(context.Context) DefaultLogGroupPtrOutput
}

DefaultLogGroupPtrInput is an input type that accepts DefaultLogGroupArgs, DefaultLogGroupPtr and DefaultLogGroupPtrOutput values. You can construct a concrete instance of `DefaultLogGroupPtrInput` via:

        DefaultLogGroupArgs{...}

or:

        nil

type DefaultLogGroupPtrOutput

type DefaultLogGroupPtrOutput struct{ *pulumi.OutputState }

func (DefaultLogGroupPtrOutput) Args

Arguments to use instead of the default values during creation.

func (DefaultLogGroupPtrOutput) Elem

func (DefaultLogGroupPtrOutput) ElementType

func (DefaultLogGroupPtrOutput) ElementType() reflect.Type

func (DefaultLogGroupPtrOutput) Existing

Identity of an existing log group to use. Cannot be used in combination with `args` or `opts`.

func (DefaultLogGroupPtrOutput) Skip

Skip creation of the log group.

func (DefaultLogGroupPtrOutput) ToDefaultLogGroupPtrOutput

func (o DefaultLogGroupPtrOutput) ToDefaultLogGroupPtrOutput() DefaultLogGroupPtrOutput

func (DefaultLogGroupPtrOutput) ToDefaultLogGroupPtrOutputWithContext

func (o DefaultLogGroupPtrOutput) ToDefaultLogGroupPtrOutputWithContext(ctx context.Context) DefaultLogGroupPtrOutput

type DefaultRoleWithPolicy

type DefaultRoleWithPolicy struct {
	// Args to use when creating the role and policies. Can't be specified if `roleArn` is used.
	Args *RoleWithPolicy `pulumi:"args"`
	// ARN of existing role to use instead of creating a new role. Cannot be used in combination with `args` or `opts`.
	RoleArn *string `pulumi:"roleArn"`
	// Skips creation of the role if set to `true`.
	Skip *bool `pulumi:"skip"`
}

Role and policy attachments with default setup unless explicitly skipped or an existing role ARN provided.

type DefaultRoleWithPolicyArgs

type DefaultRoleWithPolicyArgs struct {
	// Args to use when creating the role and policies. Can't be specified if `roleArn` is used.
	Args *RoleWithPolicyArgs `pulumi:"args"`
	// ARN of existing role to use instead of creating a new role. Cannot be used in combination with `args` or `opts`.
	RoleArn pulumi.StringPtrInput `pulumi:"roleArn"`
	// Skips creation of the role if set to `true`.
	Skip *bool `pulumi:"skip"`
}

Role and policy attachments with default setup unless explicitly skipped or an existing role ARN provided.

func (DefaultRoleWithPolicyArgs) ElementType

func (DefaultRoleWithPolicyArgs) ElementType() reflect.Type

func (DefaultRoleWithPolicyArgs) ToDefaultRoleWithPolicyOutput

func (i DefaultRoleWithPolicyArgs) ToDefaultRoleWithPolicyOutput() DefaultRoleWithPolicyOutput

func (DefaultRoleWithPolicyArgs) ToDefaultRoleWithPolicyOutputWithContext

func (i DefaultRoleWithPolicyArgs) ToDefaultRoleWithPolicyOutputWithContext(ctx context.Context) DefaultRoleWithPolicyOutput

func (DefaultRoleWithPolicyArgs) ToDefaultRoleWithPolicyPtrOutput

func (i DefaultRoleWithPolicyArgs) ToDefaultRoleWithPolicyPtrOutput() DefaultRoleWithPolicyPtrOutput

func (DefaultRoleWithPolicyArgs) ToDefaultRoleWithPolicyPtrOutputWithContext

func (i DefaultRoleWithPolicyArgs) ToDefaultRoleWithPolicyPtrOutputWithContext(ctx context.Context) DefaultRoleWithPolicyPtrOutput

type DefaultRoleWithPolicyInput

type DefaultRoleWithPolicyInput interface {
	pulumi.Input

	ToDefaultRoleWithPolicyOutput() DefaultRoleWithPolicyOutput
	ToDefaultRoleWithPolicyOutputWithContext(context.Context) DefaultRoleWithPolicyOutput
}

DefaultRoleWithPolicyInput is an input type that accepts DefaultRoleWithPolicyArgs and DefaultRoleWithPolicyOutput values. You can construct a concrete instance of `DefaultRoleWithPolicyInput` via:

DefaultRoleWithPolicyArgs{...}

type DefaultRoleWithPolicyOutput

type DefaultRoleWithPolicyOutput struct{ *pulumi.OutputState }

Role and policy attachments with default setup unless explicitly skipped or an existing role ARN provided.

func (DefaultRoleWithPolicyOutput) Args

Args to use when creating the role and policies. Can't be specified if `roleArn` is used.

func (DefaultRoleWithPolicyOutput) ElementType

func (DefaultRoleWithPolicyOutput) RoleArn

ARN of existing role to use instead of creating a new role. Cannot be used in combination with `args` or `opts`.

func (DefaultRoleWithPolicyOutput) Skip

Skips creation of the role if set to `true`.

func (DefaultRoleWithPolicyOutput) ToDefaultRoleWithPolicyOutput

func (o DefaultRoleWithPolicyOutput) ToDefaultRoleWithPolicyOutput() DefaultRoleWithPolicyOutput

func (DefaultRoleWithPolicyOutput) ToDefaultRoleWithPolicyOutputWithContext

func (o DefaultRoleWithPolicyOutput) ToDefaultRoleWithPolicyOutputWithContext(ctx context.Context) DefaultRoleWithPolicyOutput

func (DefaultRoleWithPolicyOutput) ToDefaultRoleWithPolicyPtrOutput

func (o DefaultRoleWithPolicyOutput) ToDefaultRoleWithPolicyPtrOutput() DefaultRoleWithPolicyPtrOutput

func (DefaultRoleWithPolicyOutput) ToDefaultRoleWithPolicyPtrOutputWithContext

func (o DefaultRoleWithPolicyOutput) ToDefaultRoleWithPolicyPtrOutputWithContext(ctx context.Context) DefaultRoleWithPolicyPtrOutput

type DefaultRoleWithPolicyPtrInput

type DefaultRoleWithPolicyPtrInput interface {
	pulumi.Input

	ToDefaultRoleWithPolicyPtrOutput() DefaultRoleWithPolicyPtrOutput
	ToDefaultRoleWithPolicyPtrOutputWithContext(context.Context) DefaultRoleWithPolicyPtrOutput
}

DefaultRoleWithPolicyPtrInput is an input type that accepts DefaultRoleWithPolicyArgs, DefaultRoleWithPolicyPtr and DefaultRoleWithPolicyPtrOutput values. You can construct a concrete instance of `DefaultRoleWithPolicyPtrInput` via:

        DefaultRoleWithPolicyArgs{...}

or:

        nil

type DefaultRoleWithPolicyPtrOutput

type DefaultRoleWithPolicyPtrOutput struct{ *pulumi.OutputState }

func (DefaultRoleWithPolicyPtrOutput) Args

Args to use when creating the role and policies. Can't be specified if `roleArn` is used.

func (DefaultRoleWithPolicyPtrOutput) Elem

func (DefaultRoleWithPolicyPtrOutput) ElementType

func (DefaultRoleWithPolicyPtrOutput) RoleArn

ARN of existing role to use instead of creating a new role. Cannot be used in combination with `args` or `opts`.

func (DefaultRoleWithPolicyPtrOutput) Skip

Skips creation of the role if set to `true`.

func (DefaultRoleWithPolicyPtrOutput) ToDefaultRoleWithPolicyPtrOutput

func (o DefaultRoleWithPolicyPtrOutput) ToDefaultRoleWithPolicyPtrOutput() DefaultRoleWithPolicyPtrOutput

func (DefaultRoleWithPolicyPtrOutput) ToDefaultRoleWithPolicyPtrOutputWithContext

func (o DefaultRoleWithPolicyPtrOutput) ToDefaultRoleWithPolicyPtrOutputWithContext(ctx context.Context) DefaultRoleWithPolicyPtrOutput

type DefaultSecurityGroup

type DefaultSecurityGroup struct {
	// Args to use when creating the security group. Can't be specified if `securityGroupId` is used.
	Args *SecurityGroup `pulumi:"args"`
	// Id of existing security group to use instead of creating a new security group. Cannot be used in combination with `args` or `opts`.
	SecurityGroupId *string `pulumi:"securityGroupId"`
	// Skips creation of the security group if set to `true`.
	Skip *bool `pulumi:"skip"`
}

Security Group with default setup unless explicitly skipped or an existing security group id provided.

func (*DefaultSecurityGroup) Defaults

func (val *DefaultSecurityGroup) Defaults() *DefaultSecurityGroup

Defaults sets the appropriate defaults for DefaultSecurityGroup

type DefaultSecurityGroupArgs

type DefaultSecurityGroupArgs struct {
	// Args to use when creating the security group. Can't be specified if `securityGroupId` is used.
	Args *SecurityGroupArgs `pulumi:"args"`
	// Id of existing security group to use instead of creating a new security group. Cannot be used in combination with `args` or `opts`.
	SecurityGroupId pulumi.StringPtrInput `pulumi:"securityGroupId"`
	// Skips creation of the security group if set to `true`.
	Skip *bool `pulumi:"skip"`
}

Security Group with default setup unless explicitly skipped or an existing security group id provided.

func (*DefaultSecurityGroupArgs) Defaults

Defaults sets the appropriate defaults for DefaultSecurityGroupArgs

func (DefaultSecurityGroupArgs) ElementType

func (DefaultSecurityGroupArgs) ElementType() reflect.Type

func (DefaultSecurityGroupArgs) ToDefaultSecurityGroupOutput

func (i DefaultSecurityGroupArgs) ToDefaultSecurityGroupOutput() DefaultSecurityGroupOutput

func (DefaultSecurityGroupArgs) ToDefaultSecurityGroupOutputWithContext

func (i DefaultSecurityGroupArgs) ToDefaultSecurityGroupOutputWithContext(ctx context.Context) DefaultSecurityGroupOutput

func (DefaultSecurityGroupArgs) ToDefaultSecurityGroupPtrOutput

func (i DefaultSecurityGroupArgs) ToDefaultSecurityGroupPtrOutput() DefaultSecurityGroupPtrOutput

func (DefaultSecurityGroupArgs) ToDefaultSecurityGroupPtrOutputWithContext

func (i DefaultSecurityGroupArgs) ToDefaultSecurityGroupPtrOutputWithContext(ctx context.Context) DefaultSecurityGroupPtrOutput

type DefaultSecurityGroupInput

type DefaultSecurityGroupInput interface {
	pulumi.Input

	ToDefaultSecurityGroupOutput() DefaultSecurityGroupOutput
	ToDefaultSecurityGroupOutputWithContext(context.Context) DefaultSecurityGroupOutput
}

DefaultSecurityGroupInput is an input type that accepts DefaultSecurityGroupArgs and DefaultSecurityGroupOutput values. You can construct a concrete instance of `DefaultSecurityGroupInput` via:

DefaultSecurityGroupArgs{...}

type DefaultSecurityGroupOutput

type DefaultSecurityGroupOutput struct{ *pulumi.OutputState }

Security Group with default setup unless explicitly skipped or an existing security group id provided.

func (DefaultSecurityGroupOutput) Args

Args to use when creating the security group. Can't be specified if `securityGroupId` is used.

func (DefaultSecurityGroupOutput) ElementType

func (DefaultSecurityGroupOutput) ElementType() reflect.Type

func (DefaultSecurityGroupOutput) SecurityGroupId

Id of existing security group to use instead of creating a new security group. Cannot be used in combination with `args` or `opts`.

func (DefaultSecurityGroupOutput) Skip

Skips creation of the security group if set to `true`.

func (DefaultSecurityGroupOutput) ToDefaultSecurityGroupOutput

func (o DefaultSecurityGroupOutput) ToDefaultSecurityGroupOutput() DefaultSecurityGroupOutput

func (DefaultSecurityGroupOutput) ToDefaultSecurityGroupOutputWithContext

func (o DefaultSecurityGroupOutput) ToDefaultSecurityGroupOutputWithContext(ctx context.Context) DefaultSecurityGroupOutput

func (DefaultSecurityGroupOutput) ToDefaultSecurityGroupPtrOutput

func (o DefaultSecurityGroupOutput) ToDefaultSecurityGroupPtrOutput() DefaultSecurityGroupPtrOutput

func (DefaultSecurityGroupOutput) ToDefaultSecurityGroupPtrOutputWithContext

func (o DefaultSecurityGroupOutput) ToDefaultSecurityGroupPtrOutputWithContext(ctx context.Context) DefaultSecurityGroupPtrOutput

type DefaultSecurityGroupPtrInput

type DefaultSecurityGroupPtrInput interface {
	pulumi.Input

	ToDefaultSecurityGroupPtrOutput() DefaultSecurityGroupPtrOutput
	ToDefaultSecurityGroupPtrOutputWithContext(context.Context) DefaultSecurityGroupPtrOutput
}

DefaultSecurityGroupPtrInput is an input type that accepts DefaultSecurityGroupArgs, DefaultSecurityGroupPtr and DefaultSecurityGroupPtrOutput values. You can construct a concrete instance of `DefaultSecurityGroupPtrInput` via:

        DefaultSecurityGroupArgs{...}

or:

        nil

type DefaultSecurityGroupPtrOutput

type DefaultSecurityGroupPtrOutput struct{ *pulumi.OutputState }

func (DefaultSecurityGroupPtrOutput) Args

Args to use when creating the security group. Can't be specified if `securityGroupId` is used.

func (DefaultSecurityGroupPtrOutput) Elem

func (DefaultSecurityGroupPtrOutput) ElementType

func (DefaultSecurityGroupPtrOutput) SecurityGroupId

Id of existing security group to use instead of creating a new security group. Cannot be used in combination with `args` or `opts`.

func (DefaultSecurityGroupPtrOutput) Skip

Skips creation of the security group if set to `true`.

func (DefaultSecurityGroupPtrOutput) ToDefaultSecurityGroupPtrOutput

func (o DefaultSecurityGroupPtrOutput) ToDefaultSecurityGroupPtrOutput() DefaultSecurityGroupPtrOutput

func (DefaultSecurityGroupPtrOutput) ToDefaultSecurityGroupPtrOutputWithContext

func (o DefaultSecurityGroupPtrOutput) ToDefaultSecurityGroupPtrOutputWithContext(ctx context.Context) DefaultSecurityGroupPtrOutput

type ExistingBucket

type ExistingBucket struct {
	// Arn of the bucket. Only one of [arn] or [name] can be specified.
	Arn *string `pulumi:"arn"`
	// Name of the bucket. Only one of [arn] or [name] can be specified.
	Name *string `pulumi:"name"`
}

Reference to an existing bucket.

type ExistingBucketArgs

type ExistingBucketArgs struct {
	// Arn of the bucket. Only one of [arn] or [name] can be specified.
	Arn pulumi.StringPtrInput `pulumi:"arn"`
	// Name of the bucket. Only one of [arn] or [name] can be specified.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

Reference to an existing bucket.

func (ExistingBucketArgs) ElementType

func (ExistingBucketArgs) ElementType() reflect.Type

func (ExistingBucketArgs) ToExistingBucketOutput

func (i ExistingBucketArgs) ToExistingBucketOutput() ExistingBucketOutput

func (ExistingBucketArgs) ToExistingBucketOutputWithContext

func (i ExistingBucketArgs) ToExistingBucketOutputWithContext(ctx context.Context) ExistingBucketOutput

func (ExistingBucketArgs) ToExistingBucketPtrOutput

func (i ExistingBucketArgs) ToExistingBucketPtrOutput() ExistingBucketPtrOutput

func (ExistingBucketArgs) ToExistingBucketPtrOutputWithContext

func (i ExistingBucketArgs) ToExistingBucketPtrOutputWithContext(ctx context.Context) ExistingBucketPtrOutput

type ExistingBucketInput

type ExistingBucketInput interface {
	pulumi.Input

	ToExistingBucketOutput() ExistingBucketOutput
	ToExistingBucketOutputWithContext(context.Context) ExistingBucketOutput
}

ExistingBucketInput is an input type that accepts ExistingBucketArgs and ExistingBucketOutput values. You can construct a concrete instance of `ExistingBucketInput` via:

ExistingBucketArgs{...}

type ExistingBucketOutput

type ExistingBucketOutput struct{ *pulumi.OutputState }

Reference to an existing bucket.

func (ExistingBucketOutput) Arn

Arn of the bucket. Only one of [arn] or [name] can be specified.

func (ExistingBucketOutput) ElementType

func (ExistingBucketOutput) ElementType() reflect.Type

func (ExistingBucketOutput) Name

Name of the bucket. Only one of [arn] or [name] can be specified.

func (ExistingBucketOutput) ToExistingBucketOutput

func (o ExistingBucketOutput) ToExistingBucketOutput() ExistingBucketOutput

func (ExistingBucketOutput) ToExistingBucketOutputWithContext

func (o ExistingBucketOutput) ToExistingBucketOutputWithContext(ctx context.Context) ExistingBucketOutput

func (ExistingBucketOutput) ToExistingBucketPtrOutput

func (o ExistingBucketOutput) ToExistingBucketPtrOutput() ExistingBucketPtrOutput

func (ExistingBucketOutput) ToExistingBucketPtrOutputWithContext

func (o ExistingBucketOutput) ToExistingBucketPtrOutputWithContext(ctx context.Context) ExistingBucketPtrOutput

type ExistingBucketPtrInput

type ExistingBucketPtrInput interface {
	pulumi.Input

	ToExistingBucketPtrOutput() ExistingBucketPtrOutput
	ToExistingBucketPtrOutputWithContext(context.Context) ExistingBucketPtrOutput
}

ExistingBucketPtrInput is an input type that accepts ExistingBucketArgs, ExistingBucketPtr and ExistingBucketPtrOutput values. You can construct a concrete instance of `ExistingBucketPtrInput` via:

        ExistingBucketArgs{...}

or:

        nil

type ExistingBucketPtrOutput

type ExistingBucketPtrOutput struct{ *pulumi.OutputState }

func (ExistingBucketPtrOutput) Arn

Arn of the bucket. Only one of [arn] or [name] can be specified.

func (ExistingBucketPtrOutput) Elem

func (ExistingBucketPtrOutput) ElementType

func (ExistingBucketPtrOutput) ElementType() reflect.Type

func (ExistingBucketPtrOutput) Name

Name of the bucket. Only one of [arn] or [name] can be specified.

func (ExistingBucketPtrOutput) ToExistingBucketPtrOutput

func (o ExistingBucketPtrOutput) ToExistingBucketPtrOutput() ExistingBucketPtrOutput

func (ExistingBucketPtrOutput) ToExistingBucketPtrOutputWithContext

func (o ExistingBucketPtrOutput) ToExistingBucketPtrOutputWithContext(ctx context.Context) ExistingBucketPtrOutput

type ExistingLogGroup

type ExistingLogGroup struct {
	// Arn of the log group. Only one of [arn] or [name] can be specified.
	Arn *string `pulumi:"arn"`
	// Name of the log group. Only one of [arn] or [name] can be specified.
	Name *string `pulumi:"name"`
	// Region of the log group. If not specified, the provider region will be used.
	Region *string `pulumi:"region"`
}

Reference to an existing log group.

type ExistingLogGroupArgs

type ExistingLogGroupArgs struct {
	// Arn of the log group. Only one of [arn] or [name] can be specified.
	Arn pulumi.StringPtrInput `pulumi:"arn"`
	// Name of the log group. Only one of [arn] or [name] can be specified.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Region of the log group. If not specified, the provider region will be used.
	Region pulumi.StringPtrInput `pulumi:"region"`
}

Reference to an existing log group.

func (ExistingLogGroupArgs) ElementType

func (ExistingLogGroupArgs) ElementType() reflect.Type

func (ExistingLogGroupArgs) ToExistingLogGroupOutput

func (i ExistingLogGroupArgs) ToExistingLogGroupOutput() ExistingLogGroupOutput

func (ExistingLogGroupArgs) ToExistingLogGroupOutputWithContext

func (i ExistingLogGroupArgs) ToExistingLogGroupOutputWithContext(ctx context.Context) ExistingLogGroupOutput

func (ExistingLogGroupArgs) ToExistingLogGroupPtrOutput

func (i ExistingLogGroupArgs) ToExistingLogGroupPtrOutput() ExistingLogGroupPtrOutput

func (ExistingLogGroupArgs) ToExistingLogGroupPtrOutputWithContext

func (i ExistingLogGroupArgs) ToExistingLogGroupPtrOutputWithContext(ctx context.Context) ExistingLogGroupPtrOutput

type ExistingLogGroupInput

type ExistingLogGroupInput interface {
	pulumi.Input

	ToExistingLogGroupOutput() ExistingLogGroupOutput
	ToExistingLogGroupOutputWithContext(context.Context) ExistingLogGroupOutput
}

ExistingLogGroupInput is an input type that accepts ExistingLogGroupArgs and ExistingLogGroupOutput values. You can construct a concrete instance of `ExistingLogGroupInput` via:

ExistingLogGroupArgs{...}

type ExistingLogGroupOutput

type ExistingLogGroupOutput struct{ *pulumi.OutputState }

Reference to an existing log group.

func (ExistingLogGroupOutput) Arn

Arn of the log group. Only one of [arn] or [name] can be specified.

func (ExistingLogGroupOutput) ElementType

func (ExistingLogGroupOutput) ElementType() reflect.Type

func (ExistingLogGroupOutput) Name

Name of the log group. Only one of [arn] or [name] can be specified.

func (ExistingLogGroupOutput) Region

Region of the log group. If not specified, the provider region will be used.

func (ExistingLogGroupOutput) ToExistingLogGroupOutput

func (o ExistingLogGroupOutput) ToExistingLogGroupOutput() ExistingLogGroupOutput

func (ExistingLogGroupOutput) ToExistingLogGroupOutputWithContext

func (o ExistingLogGroupOutput) ToExistingLogGroupOutputWithContext(ctx context.Context) ExistingLogGroupOutput

func (ExistingLogGroupOutput) ToExistingLogGroupPtrOutput

func (o ExistingLogGroupOutput) ToExistingLogGroupPtrOutput() ExistingLogGroupPtrOutput

func (ExistingLogGroupOutput) ToExistingLogGroupPtrOutputWithContext

func (o ExistingLogGroupOutput) ToExistingLogGroupPtrOutputWithContext(ctx context.Context) ExistingLogGroupPtrOutput

type ExistingLogGroupPtrInput

type ExistingLogGroupPtrInput interface {
	pulumi.Input

	ToExistingLogGroupPtrOutput() ExistingLogGroupPtrOutput
	ToExistingLogGroupPtrOutputWithContext(context.Context) ExistingLogGroupPtrOutput
}

ExistingLogGroupPtrInput is an input type that accepts ExistingLogGroupArgs, ExistingLogGroupPtr and ExistingLogGroupPtrOutput values. You can construct a concrete instance of `ExistingLogGroupPtrInput` via:

        ExistingLogGroupArgs{...}

or:

        nil

type ExistingLogGroupPtrOutput

type ExistingLogGroupPtrOutput struct{ *pulumi.OutputState }

func (ExistingLogGroupPtrOutput) Arn

Arn of the log group. Only one of [arn] or [name] can be specified.

func (ExistingLogGroupPtrOutput) Elem

func (ExistingLogGroupPtrOutput) ElementType

func (ExistingLogGroupPtrOutput) ElementType() reflect.Type

func (ExistingLogGroupPtrOutput) Name

Name of the log group. Only one of [arn] or [name] can be specified.

func (ExistingLogGroupPtrOutput) Region

Region of the log group. If not specified, the provider region will be used.

func (ExistingLogGroupPtrOutput) ToExistingLogGroupPtrOutput

func (o ExistingLogGroupPtrOutput) ToExistingLogGroupPtrOutput() ExistingLogGroupPtrOutput

func (ExistingLogGroupPtrOutput) ToExistingLogGroupPtrOutputWithContext

func (o ExistingLogGroupPtrOutput) ToExistingLogGroupPtrOutputWithContext(ctx context.Context) ExistingLogGroupPtrOutput

type LogGroup

type LogGroup struct {
	// The ARN of the KMS Key to use when encrypting log data. Please note, after the AWS KMS CMK is disassociated from the log group,
	// AWS CloudWatch Logs stops encrypting newly ingested data for the log group. All previously ingested data remains encrypted, and AWS CloudWatch Logs requires
	// permissions for the CMK whenever the encrypted data is requested.
	KmsKeyId *string `pulumi:"kmsKeyId"`
	// Specified the log class of the log group. Possible values are: `STANDARD`, `INFREQUENT_ACCESS`, or `DELIVERY`.
	LogGroupClass *string `pulumi:"logGroupClass"`
	// The name of the log group. If omitted, this provider will assign a random, unique name.
	Name *string `pulumi:"name"`
	// Creates a unique name beginning with the specified prefix. Conflicts with `name`.
	NamePrefix *string `pulumi:"namePrefix"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region *string `pulumi:"region"`
	// Specifies the number of days
	// you want to retain log events in the specified log group.  Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1096, 1827, 2192, 2557, 2922, 3288, 3653, and 0.
	// If you select 0, the events in the log group are always retained and never expire. If `log_group_class` is set to `DELIVERY`, this argument is ignored and `retention_in_days` is forcibly set to 2.
	RetentionInDays *int `pulumi:"retentionInDays"`
	// Set to true if you do not wish the log group (and any logs it may contain) to be deleted at destroy time, and instead just remove the log group from the state.
	SkipDestroy *bool `pulumi:"skipDestroy"`
	// A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags map[string]string `pulumi:"tags"`
}

The set of arguments for constructing a LogGroup resource.

type LogGroupArgs

type LogGroupArgs struct {
	// The ARN of the KMS Key to use when encrypting log data. Please note, after the AWS KMS CMK is disassociated from the log group,
	// AWS CloudWatch Logs stops encrypting newly ingested data for the log group. All previously ingested data remains encrypted, and AWS CloudWatch Logs requires
	// permissions for the CMK whenever the encrypted data is requested.
	KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"`
	// Specified the log class of the log group. Possible values are: `STANDARD`, `INFREQUENT_ACCESS`, or `DELIVERY`.
	LogGroupClass pulumi.StringPtrInput `pulumi:"logGroupClass"`
	// The name of the log group. If omitted, this provider will assign a random, unique name.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Creates a unique name beginning with the specified prefix. Conflicts with `name`.
	NamePrefix pulumi.StringPtrInput `pulumi:"namePrefix"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// Specifies the number of days
	// you want to retain log events in the specified log group.  Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1096, 1827, 2192, 2557, 2922, 3288, 3653, and 0.
	// If you select 0, the events in the log group are always retained and never expire. If `log_group_class` is set to `DELIVERY`, this argument is ignored and `retention_in_days` is forcibly set to 2.
	RetentionInDays pulumi.IntPtrInput `pulumi:"retentionInDays"`
	// Set to true if you do not wish the log group (and any logs it may contain) to be deleted at destroy time, and instead just remove the log group from the state.
	SkipDestroy pulumi.BoolPtrInput `pulumi:"skipDestroy"`
	// A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

The set of arguments for constructing a LogGroup resource.

func (LogGroupArgs) ElementType

func (LogGroupArgs) ElementType() reflect.Type

func (LogGroupArgs) ToLogGroupOutput

func (i LogGroupArgs) ToLogGroupOutput() LogGroupOutput

func (LogGroupArgs) ToLogGroupOutputWithContext

func (i LogGroupArgs) ToLogGroupOutputWithContext(ctx context.Context) LogGroupOutput

func (LogGroupArgs) ToLogGroupPtrOutput

func (i LogGroupArgs) ToLogGroupPtrOutput() LogGroupPtrOutput

func (LogGroupArgs) ToLogGroupPtrOutputWithContext

func (i LogGroupArgs) ToLogGroupPtrOutputWithContext(ctx context.Context) LogGroupPtrOutput

type LogGroupInput

type LogGroupInput interface {
	pulumi.Input

	ToLogGroupOutput() LogGroupOutput
	ToLogGroupOutputWithContext(context.Context) LogGroupOutput
}

LogGroupInput is an input type that accepts LogGroupArgs and LogGroupOutput values. You can construct a concrete instance of `LogGroupInput` via:

LogGroupArgs{...}

type LogGroupOutput

type LogGroupOutput struct{ *pulumi.OutputState }

The set of arguments for constructing a LogGroup resource.

func (LogGroupOutput) ElementType

func (LogGroupOutput) ElementType() reflect.Type

func (LogGroupOutput) KmsKeyId

func (o LogGroupOutput) KmsKeyId() pulumi.StringPtrOutput

The ARN of the KMS Key to use when encrypting log data. Please note, after the AWS KMS CMK is disassociated from the log group, AWS CloudWatch Logs stops encrypting newly ingested data for the log group. All previously ingested data remains encrypted, and AWS CloudWatch Logs requires permissions for the CMK whenever the encrypted data is requested.

func (LogGroupOutput) LogGroupClass

func (o LogGroupOutput) LogGroupClass() pulumi.StringPtrOutput

Specified the log class of the log group. Possible values are: `STANDARD`, `INFREQUENT_ACCESS`, or `DELIVERY`.

func (LogGroupOutput) Name

The name of the log group. If omitted, this provider will assign a random, unique name.

func (LogGroupOutput) NamePrefix

func (o LogGroupOutput) NamePrefix() pulumi.StringPtrOutput

Creates a unique name beginning with the specified prefix. Conflicts with `name`.

func (LogGroupOutput) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (LogGroupOutput) RetentionInDays

func (o LogGroupOutput) RetentionInDays() pulumi.IntPtrOutput

Specifies the number of days you want to retain log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1096, 1827, 2192, 2557, 2922, 3288, 3653, and 0. If you select 0, the events in the log group are always retained and never expire. If `log_group_class` is set to `DELIVERY`, this argument is ignored and `retention_in_days` is forcibly set to 2.

func (LogGroupOutput) SkipDestroy

func (o LogGroupOutput) SkipDestroy() pulumi.BoolPtrOutput

Set to true if you do not wish the log group (and any logs it may contain) to be deleted at destroy time, and instead just remove the log group from the state.

func (LogGroupOutput) Tags

A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (LogGroupOutput) ToLogGroupOutput

func (o LogGroupOutput) ToLogGroupOutput() LogGroupOutput

func (LogGroupOutput) ToLogGroupOutputWithContext

func (o LogGroupOutput) ToLogGroupOutputWithContext(ctx context.Context) LogGroupOutput

func (LogGroupOutput) ToLogGroupPtrOutput

func (o LogGroupOutput) ToLogGroupPtrOutput() LogGroupPtrOutput

func (LogGroupOutput) ToLogGroupPtrOutputWithContext

func (o LogGroupOutput) ToLogGroupPtrOutputWithContext(ctx context.Context) LogGroupPtrOutput

type LogGroupPtrInput

type LogGroupPtrInput interface {
	pulumi.Input

	ToLogGroupPtrOutput() LogGroupPtrOutput
	ToLogGroupPtrOutputWithContext(context.Context) LogGroupPtrOutput
}

LogGroupPtrInput is an input type that accepts LogGroupArgs, LogGroupPtr and LogGroupPtrOutput values. You can construct a concrete instance of `LogGroupPtrInput` via:

        LogGroupArgs{...}

or:

        nil

func LogGroupPtr

func LogGroupPtr(v *LogGroupArgs) LogGroupPtrInput

type LogGroupPtrOutput

type LogGroupPtrOutput struct{ *pulumi.OutputState }

func (LogGroupPtrOutput) Elem

func (LogGroupPtrOutput) ElementType

func (LogGroupPtrOutput) ElementType() reflect.Type

func (LogGroupPtrOutput) KmsKeyId

The ARN of the KMS Key to use when encrypting log data. Please note, after the AWS KMS CMK is disassociated from the log group, AWS CloudWatch Logs stops encrypting newly ingested data for the log group. All previously ingested data remains encrypted, and AWS CloudWatch Logs requires permissions for the CMK whenever the encrypted data is requested.

func (LogGroupPtrOutput) LogGroupClass

func (o LogGroupPtrOutput) LogGroupClass() pulumi.StringPtrOutput

Specified the log class of the log group. Possible values are: `STANDARD`, `INFREQUENT_ACCESS`, or `DELIVERY`.

func (LogGroupPtrOutput) Name

The name of the log group. If omitted, this provider will assign a random, unique name.

func (LogGroupPtrOutput) NamePrefix

func (o LogGroupPtrOutput) NamePrefix() pulumi.StringPtrOutput

Creates a unique name beginning with the specified prefix. Conflicts with `name`.

func (LogGroupPtrOutput) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (LogGroupPtrOutput) RetentionInDays

func (o LogGroupPtrOutput) RetentionInDays() pulumi.IntPtrOutput

Specifies the number of days you want to retain log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1096, 1827, 2192, 2557, 2922, 3288, 3653, and 0. If you select 0, the events in the log group are always retained and never expire. If `log_group_class` is set to `DELIVERY`, this argument is ignored and `retention_in_days` is forcibly set to 2.

func (LogGroupPtrOutput) SkipDestroy

func (o LogGroupPtrOutput) SkipDestroy() pulumi.BoolPtrOutput

Set to true if you do not wish the log group (and any logs it may contain) to be deleted at destroy time, and instead just remove the log group from the state.

func (LogGroupPtrOutput) Tags

A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (LogGroupPtrOutput) ToLogGroupPtrOutput

func (o LogGroupPtrOutput) ToLogGroupPtrOutput() LogGroupPtrOutput

func (LogGroupPtrOutput) ToLogGroupPtrOutputWithContext

func (o LogGroupPtrOutput) ToLogGroupPtrOutputWithContext(ctx context.Context) LogGroupPtrOutput

type OptionalLogGroup

type OptionalLogGroup struct {
	// Arguments to use instead of the default values during creation.
	Args *LogGroup `pulumi:"args"`
	// Enable creation of the log group.
	Enable *bool `pulumi:"enable"`
	// Identity of an existing log group to use. Cannot be used in combination with `args` or `opts`.
	Existing *ExistingLogGroup `pulumi:"existing"`
}

Log group which is only created if enabled.

type OptionalLogGroupArgs

type OptionalLogGroupArgs struct {
	// Arguments to use instead of the default values during creation.
	Args *LogGroupArgs `pulumi:"args"`
	// Enable creation of the log group.
	Enable *bool `pulumi:"enable"`
	// Identity of an existing log group to use. Cannot be used in combination with `args` or `opts`.
	Existing *ExistingLogGroupArgs `pulumi:"existing"`
}

Log group which is only created if enabled.

func (OptionalLogGroupArgs) ElementType

func (OptionalLogGroupArgs) ElementType() reflect.Type

func (OptionalLogGroupArgs) ToOptionalLogGroupOutput

func (i OptionalLogGroupArgs) ToOptionalLogGroupOutput() OptionalLogGroupOutput

func (OptionalLogGroupArgs) ToOptionalLogGroupOutputWithContext

func (i OptionalLogGroupArgs) ToOptionalLogGroupOutputWithContext(ctx context.Context) OptionalLogGroupOutput

func (OptionalLogGroupArgs) ToOptionalLogGroupPtrOutput

func (i OptionalLogGroupArgs) ToOptionalLogGroupPtrOutput() OptionalLogGroupPtrOutput

func (OptionalLogGroupArgs) ToOptionalLogGroupPtrOutputWithContext

func (i OptionalLogGroupArgs) ToOptionalLogGroupPtrOutputWithContext(ctx context.Context) OptionalLogGroupPtrOutput

type OptionalLogGroupInput

type OptionalLogGroupInput interface {
	pulumi.Input

	ToOptionalLogGroupOutput() OptionalLogGroupOutput
	ToOptionalLogGroupOutputWithContext(context.Context) OptionalLogGroupOutput
}

OptionalLogGroupInput is an input type that accepts OptionalLogGroupArgs and OptionalLogGroupOutput values. You can construct a concrete instance of `OptionalLogGroupInput` via:

OptionalLogGroupArgs{...}

type OptionalLogGroupOutput

type OptionalLogGroupOutput struct{ *pulumi.OutputState }

Log group which is only created if enabled.

func (OptionalLogGroupOutput) Args

Arguments to use instead of the default values during creation.

func (OptionalLogGroupOutput) ElementType

func (OptionalLogGroupOutput) ElementType() reflect.Type

func (OptionalLogGroupOutput) Enable

Enable creation of the log group.

func (OptionalLogGroupOutput) Existing

Identity of an existing log group to use. Cannot be used in combination with `args` or `opts`.

func (OptionalLogGroupOutput) ToOptionalLogGroupOutput

func (o OptionalLogGroupOutput) ToOptionalLogGroupOutput() OptionalLogGroupOutput

func (OptionalLogGroupOutput) ToOptionalLogGroupOutputWithContext

func (o OptionalLogGroupOutput) ToOptionalLogGroupOutputWithContext(ctx context.Context) OptionalLogGroupOutput

func (OptionalLogGroupOutput) ToOptionalLogGroupPtrOutput

func (o OptionalLogGroupOutput) ToOptionalLogGroupPtrOutput() OptionalLogGroupPtrOutput

func (OptionalLogGroupOutput) ToOptionalLogGroupPtrOutputWithContext

func (o OptionalLogGroupOutput) ToOptionalLogGroupPtrOutputWithContext(ctx context.Context) OptionalLogGroupPtrOutput

type OptionalLogGroupPtrInput

type OptionalLogGroupPtrInput interface {
	pulumi.Input

	ToOptionalLogGroupPtrOutput() OptionalLogGroupPtrOutput
	ToOptionalLogGroupPtrOutputWithContext(context.Context) OptionalLogGroupPtrOutput
}

OptionalLogGroupPtrInput is an input type that accepts OptionalLogGroupArgs, OptionalLogGroupPtr and OptionalLogGroupPtrOutput values. You can construct a concrete instance of `OptionalLogGroupPtrInput` via:

        OptionalLogGroupArgs{...}

or:

        nil

type OptionalLogGroupPtrOutput

type OptionalLogGroupPtrOutput struct{ *pulumi.OutputState }

func (OptionalLogGroupPtrOutput) Args

Arguments to use instead of the default values during creation.

func (OptionalLogGroupPtrOutput) Elem

func (OptionalLogGroupPtrOutput) ElementType

func (OptionalLogGroupPtrOutput) ElementType() reflect.Type

func (OptionalLogGroupPtrOutput) Enable

Enable creation of the log group.

func (OptionalLogGroupPtrOutput) Existing

Identity of an existing log group to use. Cannot be used in combination with `args` or `opts`.

func (OptionalLogGroupPtrOutput) ToOptionalLogGroupPtrOutput

func (o OptionalLogGroupPtrOutput) ToOptionalLogGroupPtrOutput() OptionalLogGroupPtrOutput

func (OptionalLogGroupPtrOutput) ToOptionalLogGroupPtrOutputWithContext

func (o OptionalLogGroupPtrOutput) ToOptionalLogGroupPtrOutputWithContext(ctx context.Context) OptionalLogGroupPtrOutput

type RequiredBucket

type RequiredBucket struct {
	// Arguments to use instead of the default values during creation.
	Args *Bucket `pulumi:"args"`
	// Identity of an existing bucket to use. Cannot be used in combination with `args`.
	Existing *ExistingBucket `pulumi:"existing"`
}

Bucket with default setup.

type RequiredBucketArgs

type RequiredBucketArgs struct {
	// Arguments to use instead of the default values during creation.
	Args *BucketArgs `pulumi:"args"`
	// Identity of an existing bucket to use. Cannot be used in combination with `args`.
	Existing *ExistingBucketArgs `pulumi:"existing"`
}

Bucket with default setup.

func (RequiredBucketArgs) ElementType

func (RequiredBucketArgs) ElementType() reflect.Type

func (RequiredBucketArgs) ToRequiredBucketOutput

func (i RequiredBucketArgs) ToRequiredBucketOutput() RequiredBucketOutput

func (RequiredBucketArgs) ToRequiredBucketOutputWithContext

func (i RequiredBucketArgs) ToRequiredBucketOutputWithContext(ctx context.Context) RequiredBucketOutput

func (RequiredBucketArgs) ToRequiredBucketPtrOutput

func (i RequiredBucketArgs) ToRequiredBucketPtrOutput() RequiredBucketPtrOutput

func (RequiredBucketArgs) ToRequiredBucketPtrOutputWithContext

func (i RequiredBucketArgs) ToRequiredBucketPtrOutputWithContext(ctx context.Context) RequiredBucketPtrOutput

type RequiredBucketInput

type RequiredBucketInput interface {
	pulumi.Input

	ToRequiredBucketOutput() RequiredBucketOutput
	ToRequiredBucketOutputWithContext(context.Context) RequiredBucketOutput
}

RequiredBucketInput is an input type that accepts RequiredBucketArgs and RequiredBucketOutput values. You can construct a concrete instance of `RequiredBucketInput` via:

RequiredBucketArgs{...}

type RequiredBucketOutput

type RequiredBucketOutput struct{ *pulumi.OutputState }

Bucket with default setup.

func (RequiredBucketOutput) Args

Arguments to use instead of the default values during creation.

func (RequiredBucketOutput) ElementType

func (RequiredBucketOutput) ElementType() reflect.Type

func (RequiredBucketOutput) Existing

Identity of an existing bucket to use. Cannot be used in combination with `args`.

func (RequiredBucketOutput) ToRequiredBucketOutput

func (o RequiredBucketOutput) ToRequiredBucketOutput() RequiredBucketOutput

func (RequiredBucketOutput) ToRequiredBucketOutputWithContext

func (o RequiredBucketOutput) ToRequiredBucketOutputWithContext(ctx context.Context) RequiredBucketOutput

func (RequiredBucketOutput) ToRequiredBucketPtrOutput

func (o RequiredBucketOutput) ToRequiredBucketPtrOutput() RequiredBucketPtrOutput

func (RequiredBucketOutput) ToRequiredBucketPtrOutputWithContext

func (o RequiredBucketOutput) ToRequiredBucketPtrOutputWithContext(ctx context.Context) RequiredBucketPtrOutput

type RequiredBucketPtrInput

type RequiredBucketPtrInput interface {
	pulumi.Input

	ToRequiredBucketPtrOutput() RequiredBucketPtrOutput
	ToRequiredBucketPtrOutputWithContext(context.Context) RequiredBucketPtrOutput
}

RequiredBucketPtrInput is an input type that accepts RequiredBucketArgs, RequiredBucketPtr and RequiredBucketPtrOutput values. You can construct a concrete instance of `RequiredBucketPtrInput` via:

        RequiredBucketArgs{...}

or:

        nil

type RequiredBucketPtrOutput

type RequiredBucketPtrOutput struct{ *pulumi.OutputState }

func (RequiredBucketPtrOutput) Args

Arguments to use instead of the default values during creation.

func (RequiredBucketPtrOutput) Elem

func (RequiredBucketPtrOutput) ElementType

func (RequiredBucketPtrOutput) ElementType() reflect.Type

func (RequiredBucketPtrOutput) Existing

Identity of an existing bucket to use. Cannot be used in combination with `args`.

func (RequiredBucketPtrOutput) ToRequiredBucketPtrOutput

func (o RequiredBucketPtrOutput) ToRequiredBucketPtrOutput() RequiredBucketPtrOutput

func (RequiredBucketPtrOutput) ToRequiredBucketPtrOutputWithContext

func (o RequiredBucketPtrOutput) ToRequiredBucketPtrOutputWithContext(ctx context.Context) RequiredBucketPtrOutput

type RequiredLogGroup

type RequiredLogGroup struct {
	// Arguments to use instead of the default values during creation.
	Args *LogGroup `pulumi:"args"`
	// Identity of an existing log group to use. Cannot be used in combination with `args` or `opts`.
	Existing *ExistingLogGroup `pulumi:"existing"`
}

Log group with default setup.

type RoleWithPolicy

type RoleWithPolicy struct {
	// Description of the role.
	Description *string `pulumi:"description"`
	// Whether to force detaching any policies the role has before destroying it. Defaults to `false`.
	ForceDetachPolicies *bool `pulumi:"forceDetachPolicies"`
	// Configuration block defining an exclusive set of IAM inline policies associated with the IAM role. See below. If no blocks are configured, Pulumi will not manage any inline policies in this resource. Configuring one empty block (i.e., `inline_policy {}`) will cause Pulumi to remove _all_ inline policies added out of band on `apply`.
	InlinePolicies []iam.RoleInlinePolicy `pulumi:"inlinePolicies"`
	// Set of exclusive IAM managed policy ARNs to attach to the IAM role. If this attribute is not configured, Pulumi will ignore policy attachments to this resource. When configured, Pulumi will align the role's managed policy attachments with this set by attaching or detaching managed policies. Configuring an empty set (i.e., `managed_policy_arns = []`) will cause Pulumi to remove _all_ managed policy attachments.
	ManagedPolicyArns []string `pulumi:"managedPolicyArns"`
	// Maximum session duration (in seconds) that you want to set for the specified role. If you do not specify a value for this setting, the default maximum of one hour is applied. This setting can have a value from 1 hour to 12 hours.
	MaxSessionDuration *int `pulumi:"maxSessionDuration"`
	// Friendly name of the role. If omitted, the provider will assign a random, unique name. See [IAM Identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) for more information.
	Name *string `pulumi:"name"`
	// Creates a unique friendly name beginning with the specified prefix. Conflicts with `name`.
	NamePrefix *string `pulumi:"namePrefix"`
	// Path to the role. See [IAM Identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) for more information.
	Path *string `pulumi:"path"`
	// ARN of the policy that is used to set the permissions boundary for the role.
	PermissionsBoundary *string `pulumi:"permissionsBoundary"`
	// ARNs of the policies to attach to the created role.
	PolicyArns []string `pulumi:"policyArns"`
	// Key-value mapping of tags for the IAM role. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags map[string]string `pulumi:"tags"`
}

The set of arguments for constructing a Role resource and Policy attachments.

type RoleWithPolicyArgs

type RoleWithPolicyArgs struct {
	// Description of the role.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// Whether to force detaching any policies the role has before destroying it. Defaults to `false`.
	ForceDetachPolicies pulumi.BoolPtrInput `pulumi:"forceDetachPolicies"`
	// Configuration block defining an exclusive set of IAM inline policies associated with the IAM role. See below. If no blocks are configured, Pulumi will not manage any inline policies in this resource. Configuring one empty block (i.e., `inline_policy {}`) will cause Pulumi to remove _all_ inline policies added out of band on `apply`.
	InlinePolicies iam.RoleInlinePolicyArrayInput `pulumi:"inlinePolicies"`
	// Set of exclusive IAM managed policy ARNs to attach to the IAM role. If this attribute is not configured, Pulumi will ignore policy attachments to this resource. When configured, Pulumi will align the role's managed policy attachments with this set by attaching or detaching managed policies. Configuring an empty set (i.e., `managed_policy_arns = []`) will cause Pulumi to remove _all_ managed policy attachments.
	ManagedPolicyArns pulumi.StringArrayInput `pulumi:"managedPolicyArns"`
	// Maximum session duration (in seconds) that you want to set for the specified role. If you do not specify a value for this setting, the default maximum of one hour is applied. This setting can have a value from 1 hour to 12 hours.
	MaxSessionDuration pulumi.IntPtrInput `pulumi:"maxSessionDuration"`
	// Friendly name of the role. If omitted, the provider will assign a random, unique name. See [IAM Identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) for more information.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Creates a unique friendly name beginning with the specified prefix. Conflicts with `name`.
	NamePrefix pulumi.StringPtrInput `pulumi:"namePrefix"`
	// Path to the role. See [IAM Identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) for more information.
	Path pulumi.StringPtrInput `pulumi:"path"`
	// ARN of the policy that is used to set the permissions boundary for the role.
	PermissionsBoundary pulumi.StringPtrInput `pulumi:"permissionsBoundary"`
	// ARNs of the policies to attach to the created role.
	PolicyArns []string `pulumi:"policyArns"`
	// Key-value mapping of tags for the IAM role. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

The set of arguments for constructing a Role resource and Policy attachments.

func (RoleWithPolicyArgs) ElementType

func (RoleWithPolicyArgs) ElementType() reflect.Type

func (RoleWithPolicyArgs) ToRoleWithPolicyOutput

func (i RoleWithPolicyArgs) ToRoleWithPolicyOutput() RoleWithPolicyOutput

func (RoleWithPolicyArgs) ToRoleWithPolicyOutputWithContext

func (i RoleWithPolicyArgs) ToRoleWithPolicyOutputWithContext(ctx context.Context) RoleWithPolicyOutput

func (RoleWithPolicyArgs) ToRoleWithPolicyPtrOutput

func (i RoleWithPolicyArgs) ToRoleWithPolicyPtrOutput() RoleWithPolicyPtrOutput

func (RoleWithPolicyArgs) ToRoleWithPolicyPtrOutputWithContext

func (i RoleWithPolicyArgs) ToRoleWithPolicyPtrOutputWithContext(ctx context.Context) RoleWithPolicyPtrOutput

type RoleWithPolicyInput

type RoleWithPolicyInput interface {
	pulumi.Input

	ToRoleWithPolicyOutput() RoleWithPolicyOutput
	ToRoleWithPolicyOutputWithContext(context.Context) RoleWithPolicyOutput
}

RoleWithPolicyInput is an input type that accepts RoleWithPolicyArgs and RoleWithPolicyOutput values. You can construct a concrete instance of `RoleWithPolicyInput` via:

RoleWithPolicyArgs{...}

type RoleWithPolicyOutput

type RoleWithPolicyOutput struct{ *pulumi.OutputState }

The set of arguments for constructing a Role resource and Policy attachments.

func (RoleWithPolicyOutput) Description

Description of the role.

func (RoleWithPolicyOutput) ElementType

func (RoleWithPolicyOutput) ElementType() reflect.Type

func (RoleWithPolicyOutput) ForceDetachPolicies

func (o RoleWithPolicyOutput) ForceDetachPolicies() pulumi.BoolPtrOutput

Whether to force detaching any policies the role has before destroying it. Defaults to `false`.

func (RoleWithPolicyOutput) InlinePolicies

Configuration block defining an exclusive set of IAM inline policies associated with the IAM role. See below. If no blocks are configured, Pulumi will not manage any inline policies in this resource. Configuring one empty block (i.e., `inline_policy {}`) will cause Pulumi to remove _all_ inline policies added out of band on `apply`.

func (RoleWithPolicyOutput) ManagedPolicyArns

func (o RoleWithPolicyOutput) ManagedPolicyArns() pulumi.StringArrayOutput

Set of exclusive IAM managed policy ARNs to attach to the IAM role. If this attribute is not configured, Pulumi will ignore policy attachments to this resource. When configured, Pulumi will align the role's managed policy attachments with this set by attaching or detaching managed policies. Configuring an empty set (i.e., `managed_policy_arns = []`) will cause Pulumi to remove _all_ managed policy attachments.

func (RoleWithPolicyOutput) MaxSessionDuration

func (o RoleWithPolicyOutput) MaxSessionDuration() pulumi.IntPtrOutput

Maximum session duration (in seconds) that you want to set for the specified role. If you do not specify a value for this setting, the default maximum of one hour is applied. This setting can have a value from 1 hour to 12 hours.

func (RoleWithPolicyOutput) Name

Friendly name of the role. If omitted, the provider will assign a random, unique name. See [IAM Identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) for more information.

func (RoleWithPolicyOutput) NamePrefix

Creates a unique friendly name beginning with the specified prefix. Conflicts with `name`.

func (RoleWithPolicyOutput) Path

Path to the role. See [IAM Identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) for more information.

func (RoleWithPolicyOutput) PermissionsBoundary

func (o RoleWithPolicyOutput) PermissionsBoundary() pulumi.StringPtrOutput

ARN of the policy that is used to set the permissions boundary for the role.

func (RoleWithPolicyOutput) PolicyArns

ARNs of the policies to attach to the created role.

func (RoleWithPolicyOutput) Tags

Key-value mapping of tags for the IAM role. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (RoleWithPolicyOutput) ToRoleWithPolicyOutput

func (o RoleWithPolicyOutput) ToRoleWithPolicyOutput() RoleWithPolicyOutput

func (RoleWithPolicyOutput) ToRoleWithPolicyOutputWithContext

func (o RoleWithPolicyOutput) ToRoleWithPolicyOutputWithContext(ctx context.Context) RoleWithPolicyOutput

func (RoleWithPolicyOutput) ToRoleWithPolicyPtrOutput

func (o RoleWithPolicyOutput) ToRoleWithPolicyPtrOutput() RoleWithPolicyPtrOutput

func (RoleWithPolicyOutput) ToRoleWithPolicyPtrOutputWithContext

func (o RoleWithPolicyOutput) ToRoleWithPolicyPtrOutputWithContext(ctx context.Context) RoleWithPolicyPtrOutput

type RoleWithPolicyPtrInput

type RoleWithPolicyPtrInput interface {
	pulumi.Input

	ToRoleWithPolicyPtrOutput() RoleWithPolicyPtrOutput
	ToRoleWithPolicyPtrOutputWithContext(context.Context) RoleWithPolicyPtrOutput
}

RoleWithPolicyPtrInput is an input type that accepts RoleWithPolicyArgs, RoleWithPolicyPtr and RoleWithPolicyPtrOutput values. You can construct a concrete instance of `RoleWithPolicyPtrInput` via:

        RoleWithPolicyArgs{...}

or:

        nil

type RoleWithPolicyPtrOutput

type RoleWithPolicyPtrOutput struct{ *pulumi.OutputState }

func (RoleWithPolicyPtrOutput) Description

Description of the role.

func (RoleWithPolicyPtrOutput) Elem

func (RoleWithPolicyPtrOutput) ElementType

func (RoleWithPolicyPtrOutput) ElementType() reflect.Type

func (RoleWithPolicyPtrOutput) ForceDetachPolicies

func (o RoleWithPolicyPtrOutput) ForceDetachPolicies() pulumi.BoolPtrOutput

Whether to force detaching any policies the role has before destroying it. Defaults to `false`.

func (RoleWithPolicyPtrOutput) InlinePolicies

Configuration block defining an exclusive set of IAM inline policies associated with the IAM role. See below. If no blocks are configured, Pulumi will not manage any inline policies in this resource. Configuring one empty block (i.e., `inline_policy {}`) will cause Pulumi to remove _all_ inline policies added out of band on `apply`.

func (RoleWithPolicyPtrOutput) ManagedPolicyArns

func (o RoleWithPolicyPtrOutput) ManagedPolicyArns() pulumi.StringArrayOutput

Set of exclusive IAM managed policy ARNs to attach to the IAM role. If this attribute is not configured, Pulumi will ignore policy attachments to this resource. When configured, Pulumi will align the role's managed policy attachments with this set by attaching or detaching managed policies. Configuring an empty set (i.e., `managed_policy_arns = []`) will cause Pulumi to remove _all_ managed policy attachments.

func (RoleWithPolicyPtrOutput) MaxSessionDuration

func (o RoleWithPolicyPtrOutput) MaxSessionDuration() pulumi.IntPtrOutput

Maximum session duration (in seconds) that you want to set for the specified role. If you do not specify a value for this setting, the default maximum of one hour is applied. This setting can have a value from 1 hour to 12 hours.

func (RoleWithPolicyPtrOutput) Name

Friendly name of the role. If omitted, the provider will assign a random, unique name. See [IAM Identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) for more information.

func (RoleWithPolicyPtrOutput) NamePrefix

Creates a unique friendly name beginning with the specified prefix. Conflicts with `name`.

func (RoleWithPolicyPtrOutput) Path

Path to the role. See [IAM Identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) for more information.

func (RoleWithPolicyPtrOutput) PermissionsBoundary

func (o RoleWithPolicyPtrOutput) PermissionsBoundary() pulumi.StringPtrOutput

ARN of the policy that is used to set the permissions boundary for the role.

func (RoleWithPolicyPtrOutput) PolicyArns

ARNs of the policies to attach to the created role.

func (RoleWithPolicyPtrOutput) Tags

Key-value mapping of tags for the IAM role. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (RoleWithPolicyPtrOutput) ToRoleWithPolicyPtrOutput

func (o RoleWithPolicyPtrOutput) ToRoleWithPolicyPtrOutput() RoleWithPolicyPtrOutput

func (RoleWithPolicyPtrOutput) ToRoleWithPolicyPtrOutputWithContext

func (o RoleWithPolicyPtrOutput) ToRoleWithPolicyPtrOutputWithContext(ctx context.Context) RoleWithPolicyPtrOutput

type SecurityGroup

type SecurityGroup struct {
	// Security group description. Defaults to `Managed by Pulumi`. Cannot be `""`. **NOTE**: This field maps to the AWS `GroupDescription` attribute, for which there is no Update API. If you'd like to classify your security groups in a way that can be updated, use `tags`.
	Description *string `pulumi:"description"`
	// Configuration block for egress rules. Can be specified multiple times for each egress rule. Each egress block supports fields documented below. This argument is processed in attribute-as-blocks mode.
	Egress []ec2.SecurityGroupEgress `pulumi:"egress"`
	// Configuration block for ingress rules. Can be specified multiple times for each ingress rule. Each ingress block supports fields documented below. This argument is processed in attribute-as-blocks mode.
	Ingress []ec2.SecurityGroupIngress `pulumi:"ingress"`
	// Name of the security group. If omitted, the provider will assign a random, unique name.
	Name *string `pulumi:"name"`
	// Creates a unique name beginning with the specified prefix. Conflicts with `name`.
	NamePrefix *string `pulumi:"namePrefix"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region *string `pulumi:"region"`
	// Instruct the provider to revoke all of the Security Groups attached ingress and egress rules before deleting the rule itself. This is normally not needed, however certain AWS services such as Elastic Map Reduce may automatically add required rules to security groups used with the service, and those rules may contain a cyclic dependency that prevent the security groups from being destroyed without removing the dependency first. Default `false`.
	RevokeRulesOnDelete *bool `pulumi:"revokeRulesOnDelete"`
	// Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags map[string]string `pulumi:"tags"`
	// VPC ID. Defaults to the region's default VPC.
	VpcId *string `pulumi:"vpcId"`
}

The set of arguments for constructing a Security Group resource.

func (*SecurityGroup) Defaults

func (val *SecurityGroup) Defaults() *SecurityGroup

Defaults sets the appropriate defaults for SecurityGroup

type SecurityGroupArgs

type SecurityGroupArgs struct {
	// Security group description. Defaults to `Managed by Pulumi`. Cannot be `""`. **NOTE**: This field maps to the AWS `GroupDescription` attribute, for which there is no Update API. If you'd like to classify your security groups in a way that can be updated, use `tags`.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// Configuration block for egress rules. Can be specified multiple times for each egress rule. Each egress block supports fields documented below. This argument is processed in attribute-as-blocks mode.
	Egress ec2.SecurityGroupEgressArrayInput `pulumi:"egress"`
	// Configuration block for ingress rules. Can be specified multiple times for each ingress rule. Each ingress block supports fields documented below. This argument is processed in attribute-as-blocks mode.
	Ingress ec2.SecurityGroupIngressArrayInput `pulumi:"ingress"`
	// Name of the security group. If omitted, the provider will assign a random, unique name.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Creates a unique name beginning with the specified prefix. Conflicts with `name`.
	NamePrefix pulumi.StringPtrInput `pulumi:"namePrefix"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// Instruct the provider to revoke all of the Security Groups attached ingress and egress rules before deleting the rule itself. This is normally not needed, however certain AWS services such as Elastic Map Reduce may automatically add required rules to security groups used with the service, and those rules may contain a cyclic dependency that prevent the security groups from being destroyed without removing the dependency first. Default `false`.
	RevokeRulesOnDelete pulumi.BoolPtrInput `pulumi:"revokeRulesOnDelete"`
	// Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput `pulumi:"tags"`
	// VPC ID. Defaults to the region's default VPC.
	VpcId pulumi.StringPtrInput `pulumi:"vpcId"`
}

The set of arguments for constructing a Security Group resource.

func (*SecurityGroupArgs) Defaults

func (val *SecurityGroupArgs) Defaults() *SecurityGroupArgs

Defaults sets the appropriate defaults for SecurityGroupArgs

func (SecurityGroupArgs) ElementType

func (SecurityGroupArgs) ElementType() reflect.Type

func (SecurityGroupArgs) ToSecurityGroupOutput

func (i SecurityGroupArgs) ToSecurityGroupOutput() SecurityGroupOutput

func (SecurityGroupArgs) ToSecurityGroupOutputWithContext

func (i SecurityGroupArgs) ToSecurityGroupOutputWithContext(ctx context.Context) SecurityGroupOutput

func (SecurityGroupArgs) ToSecurityGroupPtrOutput

func (i SecurityGroupArgs) ToSecurityGroupPtrOutput() SecurityGroupPtrOutput

func (SecurityGroupArgs) ToSecurityGroupPtrOutputWithContext

func (i SecurityGroupArgs) ToSecurityGroupPtrOutputWithContext(ctx context.Context) SecurityGroupPtrOutput

type SecurityGroupInput

type SecurityGroupInput interface {
	pulumi.Input

	ToSecurityGroupOutput() SecurityGroupOutput
	ToSecurityGroupOutputWithContext(context.Context) SecurityGroupOutput
}

SecurityGroupInput is an input type that accepts SecurityGroupArgs and SecurityGroupOutput values. You can construct a concrete instance of `SecurityGroupInput` via:

SecurityGroupArgs{...}

type SecurityGroupOutput

type SecurityGroupOutput struct{ *pulumi.OutputState }

The set of arguments for constructing a Security Group resource.

func (SecurityGroupOutput) Description

func (o SecurityGroupOutput) Description() pulumi.StringPtrOutput

Security group description. Defaults to `Managed by Pulumi`. Cannot be `""`. **NOTE**: This field maps to the AWS `GroupDescription` attribute, for which there is no Update API. If you'd like to classify your security groups in a way that can be updated, use `tags`.

func (SecurityGroupOutput) Egress

Configuration block for egress rules. Can be specified multiple times for each egress rule. Each egress block supports fields documented below. This argument is processed in attribute-as-blocks mode.

func (SecurityGroupOutput) ElementType

func (SecurityGroupOutput) ElementType() reflect.Type

func (SecurityGroupOutput) Ingress

Configuration block for ingress rules. Can be specified multiple times for each ingress rule. Each ingress block supports fields documented below. This argument is processed in attribute-as-blocks mode.

func (SecurityGroupOutput) Name

Name of the security group. If omitted, the provider will assign a random, unique name.

func (SecurityGroupOutput) NamePrefix

Creates a unique name beginning with the specified prefix. Conflicts with `name`.

func (SecurityGroupOutput) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (SecurityGroupOutput) RevokeRulesOnDelete

func (o SecurityGroupOutput) RevokeRulesOnDelete() pulumi.BoolPtrOutput

Instruct the provider to revoke all of the Security Groups attached ingress and egress rules before deleting the rule itself. This is normally not needed, however certain AWS services such as Elastic Map Reduce may automatically add required rules to security groups used with the service, and those rules may contain a cyclic dependency that prevent the security groups from being destroyed without removing the dependency first. Default `false`.

func (SecurityGroupOutput) Tags

Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (SecurityGroupOutput) ToSecurityGroupOutput

func (o SecurityGroupOutput) ToSecurityGroupOutput() SecurityGroupOutput

func (SecurityGroupOutput) ToSecurityGroupOutputWithContext

func (o SecurityGroupOutput) ToSecurityGroupOutputWithContext(ctx context.Context) SecurityGroupOutput

func (SecurityGroupOutput) ToSecurityGroupPtrOutput

func (o SecurityGroupOutput) ToSecurityGroupPtrOutput() SecurityGroupPtrOutput

func (SecurityGroupOutput) ToSecurityGroupPtrOutputWithContext

func (o SecurityGroupOutput) ToSecurityGroupPtrOutputWithContext(ctx context.Context) SecurityGroupPtrOutput

func (SecurityGroupOutput) VpcId

VPC ID. Defaults to the region's default VPC.

type SecurityGroupPtrInput

type SecurityGroupPtrInput interface {
	pulumi.Input

	ToSecurityGroupPtrOutput() SecurityGroupPtrOutput
	ToSecurityGroupPtrOutputWithContext(context.Context) SecurityGroupPtrOutput
}

SecurityGroupPtrInput is an input type that accepts SecurityGroupArgs, SecurityGroupPtr and SecurityGroupPtrOutput values. You can construct a concrete instance of `SecurityGroupPtrInput` via:

        SecurityGroupArgs{...}

or:

        nil

type SecurityGroupPtrOutput

type SecurityGroupPtrOutput struct{ *pulumi.OutputState }

func (SecurityGroupPtrOutput) Description

Security group description. Defaults to `Managed by Pulumi`. Cannot be `""`. **NOTE**: This field maps to the AWS `GroupDescription` attribute, for which there is no Update API. If you'd like to classify your security groups in a way that can be updated, use `tags`.

func (SecurityGroupPtrOutput) Egress

Configuration block for egress rules. Can be specified multiple times for each egress rule. Each egress block supports fields documented below. This argument is processed in attribute-as-blocks mode.

func (SecurityGroupPtrOutput) Elem

func (SecurityGroupPtrOutput) ElementType

func (SecurityGroupPtrOutput) ElementType() reflect.Type

func (SecurityGroupPtrOutput) Ingress

Configuration block for ingress rules. Can be specified multiple times for each ingress rule. Each ingress block supports fields documented below. This argument is processed in attribute-as-blocks mode.

func (SecurityGroupPtrOutput) Name

Name of the security group. If omitted, the provider will assign a random, unique name.

func (SecurityGroupPtrOutput) NamePrefix

Creates a unique name beginning with the specified prefix. Conflicts with `name`.

func (SecurityGroupPtrOutput) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (SecurityGroupPtrOutput) RevokeRulesOnDelete

func (o SecurityGroupPtrOutput) RevokeRulesOnDelete() pulumi.BoolPtrOutput

Instruct the provider to revoke all of the Security Groups attached ingress and egress rules before deleting the rule itself. This is normally not needed, however certain AWS services such as Elastic Map Reduce may automatically add required rules to security groups used with the service, and those rules may contain a cyclic dependency that prevent the security groups from being destroyed without removing the dependency first. Default `false`.

func (SecurityGroupPtrOutput) Tags

Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (SecurityGroupPtrOutput) ToSecurityGroupPtrOutput

func (o SecurityGroupPtrOutput) ToSecurityGroupPtrOutput() SecurityGroupPtrOutput

func (SecurityGroupPtrOutput) ToSecurityGroupPtrOutputWithContext

func (o SecurityGroupPtrOutput) ToSecurityGroupPtrOutputWithContext(ctx context.Context) SecurityGroupPtrOutput

func (SecurityGroupPtrOutput) VpcId

VPC ID. Defaults to the region's default VPC.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL