Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.logging/v2.OrganizationBucket
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket’s location cannot be changed. Auto-naming is currently not supported for this resource.
Create OrganizationBucket Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OrganizationBucket(name: string, args: OrganizationBucketArgs, opts?: CustomResourceOptions);
@overload
def OrganizationBucket(resource_name: str,
args: OrganizationBucketArgs,
opts: Optional[ResourceOptions] = None)
@overload
def OrganizationBucket(resource_name: str,
opts: Optional[ResourceOptions] = None,
bucket_id: Optional[str] = None,
organization_id: Optional[str] = None,
analytics_enabled: Optional[bool] = None,
cmek_settings: Optional[CmekSettingsArgs] = None,
description: Optional[str] = None,
index_configs: Optional[Sequence[IndexConfigArgs]] = None,
location: Optional[str] = None,
locked: Optional[bool] = None,
restricted_fields: Optional[Sequence[str]] = None,
retention_days: Optional[int] = None)
func NewOrganizationBucket(ctx *Context, name string, args OrganizationBucketArgs, opts ...ResourceOption) (*OrganizationBucket, error)
public OrganizationBucket(string name, OrganizationBucketArgs args, CustomResourceOptions? opts = null)
public OrganizationBucket(String name, OrganizationBucketArgs args)
public OrganizationBucket(String name, OrganizationBucketArgs args, CustomResourceOptions options)
type: google-native:logging/v2:OrganizationBucket
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args OrganizationBucketArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args OrganizationBucketArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args OrganizationBucketArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OrganizationBucketArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OrganizationBucketArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var organizationBucketResource = new GoogleNative.Logging.V2.OrganizationBucket("organizationBucketResource", new()
{
BucketId = "string",
OrganizationId = "string",
AnalyticsEnabled = false,
CmekSettings = new GoogleNative.Logging.V2.Inputs.CmekSettingsArgs
{
KmsKeyName = "string",
KmsKeyVersionName = "string",
},
Description = "string",
IndexConfigs = new[]
{
new GoogleNative.Logging.V2.Inputs.IndexConfigArgs
{
FieldPath = "string",
Type = GoogleNative.Logging.V2.IndexConfigType.IndexTypeUnspecified,
},
},
Location = "string",
Locked = false,
RestrictedFields = new[]
{
"string",
},
RetentionDays = 0,
});
example, err := logging.NewOrganizationBucket(ctx, "organizationBucketResource", &logging.OrganizationBucketArgs{
BucketId: pulumi.String("string"),
OrganizationId: pulumi.String("string"),
AnalyticsEnabled: pulumi.Bool(false),
CmekSettings: &logging.CmekSettingsArgs{
KmsKeyName: pulumi.String("string"),
KmsKeyVersionName: pulumi.String("string"),
},
Description: pulumi.String("string"),
IndexConfigs: logging.IndexConfigArray{
&logging.IndexConfigArgs{
FieldPath: pulumi.String("string"),
Type: logging.IndexConfigTypeIndexTypeUnspecified,
},
},
Location: pulumi.String("string"),
Locked: pulumi.Bool(false),
RestrictedFields: pulumi.StringArray{
pulumi.String("string"),
},
RetentionDays: pulumi.Int(0),
})
var organizationBucketResource = new OrganizationBucket("organizationBucketResource", OrganizationBucketArgs.builder()
.bucketId("string")
.organizationId("string")
.analyticsEnabled(false)
.cmekSettings(CmekSettingsArgs.builder()
.kmsKeyName("string")
.kmsKeyVersionName("string")
.build())
.description("string")
.indexConfigs(IndexConfigArgs.builder()
.fieldPath("string")
.type("INDEX_TYPE_UNSPECIFIED")
.build())
.location("string")
.locked(false)
.restrictedFields("string")
.retentionDays(0)
.build());
organization_bucket_resource = google_native.logging.v2.OrganizationBucket("organizationBucketResource",
bucket_id="string",
organization_id="string",
analytics_enabled=False,
cmek_settings=google_native.logging.v2.CmekSettingsArgs(
kms_key_name="string",
kms_key_version_name="string",
),
description="string",
index_configs=[google_native.logging.v2.IndexConfigArgs(
field_path="string",
type=google_native.logging.v2.IndexConfigType.INDEX_TYPE_UNSPECIFIED,
)],
location="string",
locked=False,
restricted_fields=["string"],
retention_days=0)
const organizationBucketResource = new google_native.logging.v2.OrganizationBucket("organizationBucketResource", {
bucketId: "string",
organizationId: "string",
analyticsEnabled: false,
cmekSettings: {
kmsKeyName: "string",
kmsKeyVersionName: "string",
},
description: "string",
indexConfigs: [{
fieldPath: "string",
type: google_native.logging.v2.IndexConfigType.IndexTypeUnspecified,
}],
location: "string",
locked: false,
restrictedFields: ["string"],
retentionDays: 0,
});
type: google-native:logging/v2:OrganizationBucket
properties:
analyticsEnabled: false
bucketId: string
cmekSettings:
kmsKeyName: string
kmsKeyVersionName: string
description: string
indexConfigs:
- fieldPath: string
type: INDEX_TYPE_UNSPECIFIED
location: string
locked: false
organizationId: string
restrictedFields:
- string
retentionDays: 0
OrganizationBucket Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The OrganizationBucket resource accepts the following input properties:
- Bucket
Id string - Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
- Organization
Id string - Analytics
Enabled bool - Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled.
- Cmek
Settings Pulumi.Google Native. Logging. V2. Inputs. Cmek Settings - The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.
- Description string
- Describes this bucket.
- Index
Configs List<Pulumi.Google Native. Logging. V2. Inputs. Index Config> - A list of indexed fields and related configuration data.
- Location string
- Locked bool
- Whether the bucket is locked.The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.
- Restricted
Fields List<string> - Log entry field paths that are denied access in this bucket.The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz)
- Retention
Days int - Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.
- Bucket
Id string - Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
- Organization
Id string - Analytics
Enabled bool - Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled.
- Cmek
Settings CmekSettings Args - The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.
- Description string
- Describes this bucket.
- Index
Configs []IndexConfig Args - A list of indexed fields and related configuration data.
- Location string
- Locked bool
- Whether the bucket is locked.The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.
- Restricted
Fields []string - Log entry field paths that are denied access in this bucket.The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz)
- Retention
Days int - Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.
- bucket
Id String - Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
- organization
Id String - analytics
Enabled Boolean - Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled.
- cmek
Settings CmekSettings - The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.
- description String
- Describes this bucket.
- index
Configs List<IndexConfig> - A list of indexed fields and related configuration data.
- location String
- locked Boolean
- Whether the bucket is locked.The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.
- restricted
Fields List<String> - Log entry field paths that are denied access in this bucket.The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz)
- retention
Days Integer - Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.
- bucket
Id string - Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
- organization
Id string - analytics
Enabled boolean - Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled.
- cmek
Settings CmekSettings - The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.
- description string
- Describes this bucket.
- index
Configs IndexConfig[] - A list of indexed fields and related configuration data.
- location string
- locked boolean
- Whether the bucket is locked.The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.
- restricted
Fields string[] - Log entry field paths that are denied access in this bucket.The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz)
- retention
Days number - Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.
- bucket_
id str - Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
- organization_
id str - analytics_
enabled bool - Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled.
- cmek_
settings CmekSettings Args - The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.
- description str
- Describes this bucket.
- index_
configs Sequence[IndexConfig Args] - A list of indexed fields and related configuration data.
- location str
- locked bool
- Whether the bucket is locked.The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.
- restricted_
fields Sequence[str] - Log entry field paths that are denied access in this bucket.The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz)
- retention_
days int - Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.
- bucket
Id String - Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
- organization
Id String - analytics
Enabled Boolean - Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled.
- cmek
Settings Property Map - The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.
- description String
- Describes this bucket.
- index
Configs List<Property Map> - A list of indexed fields and related configuration data.
- location String
- locked Boolean
- Whether the bucket is locked.The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.
- restricted
Fields List<String> - Log entry field paths that are denied access in this bucket.The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz)
- retention
Days Number - Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.
Outputs
All input properties are implicitly available as output properties. Additionally, the OrganizationBucket resource produces the following output properties:
- Create
Time string - The creation timestamp of the bucket. This is not set for any of the default buckets.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
State string - The bucket lifecycle state.
- Name string
- The resource name of the bucket.For example:projects/my-project/locations/global/buckets/my-bucketFor a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support)For the location of global it is unspecified where log entries are actually stored.After a bucket has been created, the location cannot be changed.
- Update
Time string - The last update timestamp of the bucket.
- Create
Time string - The creation timestamp of the bucket. This is not set for any of the default buckets.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
State string - The bucket lifecycle state.
- Name string
- The resource name of the bucket.For example:projects/my-project/locations/global/buckets/my-bucketFor a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support)For the location of global it is unspecified where log entries are actually stored.After a bucket has been created, the location cannot be changed.
- Update
Time string - The last update timestamp of the bucket.
- create
Time String - The creation timestamp of the bucket. This is not set for any of the default buckets.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
State String - The bucket lifecycle state.
- name String
- The resource name of the bucket.For example:projects/my-project/locations/global/buckets/my-bucketFor a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support)For the location of global it is unspecified where log entries are actually stored.After a bucket has been created, the location cannot be changed.
- update
Time String - The last update timestamp of the bucket.
- create
Time string - The creation timestamp of the bucket. This is not set for any of the default buckets.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
State string - The bucket lifecycle state.
- name string
- The resource name of the bucket.For example:projects/my-project/locations/global/buckets/my-bucketFor a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support)For the location of global it is unspecified where log entries are actually stored.After a bucket has been created, the location cannot be changed.
- update
Time string - The last update timestamp of the bucket.
- create_
time str - The creation timestamp of the bucket. This is not set for any of the default buckets.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
state str - The bucket lifecycle state.
- name str
- The resource name of the bucket.For example:projects/my-project/locations/global/buckets/my-bucketFor a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support)For the location of global it is unspecified where log entries are actually stored.After a bucket has been created, the location cannot be changed.
- update_
time str - The last update timestamp of the bucket.
- create
Time String - The creation timestamp of the bucket. This is not set for any of the default buckets.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
State String - The bucket lifecycle state.
- name String
- The resource name of the bucket.For example:projects/my-project/locations/global/buckets/my-bucketFor a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support)For the location of global it is unspecified where log entries are actually stored.After a bucket has been created, the location cannot be changed.
- update
Time String - The last update timestamp of the bucket.
Supporting Types
CmekSettings, CmekSettingsArgs
- Kms
Key stringName - The resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"To enable CMEK for the Log Router, set this field to a valid kms_key_name for which the associated service account has the needed cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.The Cloud KMS key used by the Log Router can be updated by changing the kms_key_name to a new valid key name or disabled by setting the key name to an empty string. Encryption operations that are in progress will be completed with the key that was in use when they started. Decryption operations will be completed using the key that was used at the time of encryption unless access to that key has been revoked.To disable CMEK for the Log Router, set this field to an empty string.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
- Kms
Key stringVersion Name - The CryptoKeyVersion resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"This is a read-only field used to convey the specific configured CryptoKeyVersion of kms_key that has been configured. It will be populated in cases where the CMEK settings are bound to a single key version.If this field is populated, the kms_key is tied to a specific CryptoKeyVersion.
- Kms
Key stringName - The resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"To enable CMEK for the Log Router, set this field to a valid kms_key_name for which the associated service account has the needed cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.The Cloud KMS key used by the Log Router can be updated by changing the kms_key_name to a new valid key name or disabled by setting the key name to an empty string. Encryption operations that are in progress will be completed with the key that was in use when they started. Decryption operations will be completed using the key that was used at the time of encryption unless access to that key has been revoked.To disable CMEK for the Log Router, set this field to an empty string.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
- Kms
Key stringVersion Name - The CryptoKeyVersion resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"This is a read-only field used to convey the specific configured CryptoKeyVersion of kms_key that has been configured. It will be populated in cases where the CMEK settings are bound to a single key version.If this field is populated, the kms_key is tied to a specific CryptoKeyVersion.
- kms
Key StringName - The resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"To enable CMEK for the Log Router, set this field to a valid kms_key_name for which the associated service account has the needed cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.The Cloud KMS key used by the Log Router can be updated by changing the kms_key_name to a new valid key name or disabled by setting the key name to an empty string. Encryption operations that are in progress will be completed with the key that was in use when they started. Decryption operations will be completed using the key that was used at the time of encryption unless access to that key has been revoked.To disable CMEK for the Log Router, set this field to an empty string.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
- kms
Key StringVersion Name - The CryptoKeyVersion resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"This is a read-only field used to convey the specific configured CryptoKeyVersion of kms_key that has been configured. It will be populated in cases where the CMEK settings are bound to a single key version.If this field is populated, the kms_key is tied to a specific CryptoKeyVersion.
- kms
Key stringName - The resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"To enable CMEK for the Log Router, set this field to a valid kms_key_name for which the associated service account has the needed cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.The Cloud KMS key used by the Log Router can be updated by changing the kms_key_name to a new valid key name or disabled by setting the key name to an empty string. Encryption operations that are in progress will be completed with the key that was in use when they started. Decryption operations will be completed using the key that was used at the time of encryption unless access to that key has been revoked.To disable CMEK for the Log Router, set this field to an empty string.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
- kms
Key stringVersion Name - The CryptoKeyVersion resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"This is a read-only field used to convey the specific configured CryptoKeyVersion of kms_key that has been configured. It will be populated in cases where the CMEK settings are bound to a single key version.If this field is populated, the kms_key is tied to a specific CryptoKeyVersion.
- kms_
key_ strname - The resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"To enable CMEK for the Log Router, set this field to a valid kms_key_name for which the associated service account has the needed cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.The Cloud KMS key used by the Log Router can be updated by changing the kms_key_name to a new valid key name or disabled by setting the key name to an empty string. Encryption operations that are in progress will be completed with the key that was in use when they started. Decryption operations will be completed using the key that was used at the time of encryption unless access to that key has been revoked.To disable CMEK for the Log Router, set this field to an empty string.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
- kms_
key_ strversion_ name - The CryptoKeyVersion resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"This is a read-only field used to convey the specific configured CryptoKeyVersion of kms_key that has been configured. It will be populated in cases where the CMEK settings are bound to a single key version.If this field is populated, the kms_key is tied to a specific CryptoKeyVersion.
- kms
Key StringName - The resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"To enable CMEK for the Log Router, set this field to a valid kms_key_name for which the associated service account has the needed cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.The Cloud KMS key used by the Log Router can be updated by changing the kms_key_name to a new valid key name or disabled by setting the key name to an empty string. Encryption operations that are in progress will be completed with the key that was in use when they started. Decryption operations will be completed using the key that was used at the time of encryption unless access to that key has been revoked.To disable CMEK for the Log Router, set this field to an empty string.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
- kms
Key StringVersion Name - The CryptoKeyVersion resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"This is a read-only field used to convey the specific configured CryptoKeyVersion of kms_key that has been configured. It will be populated in cases where the CMEK settings are bound to a single key version.If this field is populated, the kms_key is tied to a specific CryptoKeyVersion.
CmekSettingsResponse, CmekSettingsResponseArgs
- Kms
Key stringName - The resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"To enable CMEK for the Log Router, set this field to a valid kms_key_name for which the associated service account has the needed cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.The Cloud KMS key used by the Log Router can be updated by changing the kms_key_name to a new valid key name or disabled by setting the key name to an empty string. Encryption operations that are in progress will be completed with the key that was in use when they started. Decryption operations will be completed using the key that was used at the time of encryption unless access to that key has been revoked.To disable CMEK for the Log Router, set this field to an empty string.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
- Kms
Key stringVersion Name - The CryptoKeyVersion resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"This is a read-only field used to convey the specific configured CryptoKeyVersion of kms_key that has been configured. It will be populated in cases where the CMEK settings are bound to a single key version.If this field is populated, the kms_key is tied to a specific CryptoKeyVersion.
- Name string
- The resource name of the CMEK settings.
- Service
Account stringId - The service account that will be used by the Log Router to access your Cloud KMS key.Before enabling CMEK for Log Router, you must first assign the cloudkms.cryptoKeyEncrypterDecrypter role to the service account that the Log Router will use to access your Cloud KMS key. Use GetCmekSettings to obtain the service account ID.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
- Kms
Key stringName - The resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"To enable CMEK for the Log Router, set this field to a valid kms_key_name for which the associated service account has the needed cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.The Cloud KMS key used by the Log Router can be updated by changing the kms_key_name to a new valid key name or disabled by setting the key name to an empty string. Encryption operations that are in progress will be completed with the key that was in use when they started. Decryption operations will be completed using the key that was used at the time of encryption unless access to that key has been revoked.To disable CMEK for the Log Router, set this field to an empty string.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
- Kms
Key stringVersion Name - The CryptoKeyVersion resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"This is a read-only field used to convey the specific configured CryptoKeyVersion of kms_key that has been configured. It will be populated in cases where the CMEK settings are bound to a single key version.If this field is populated, the kms_key is tied to a specific CryptoKeyVersion.
- Name string
- The resource name of the CMEK settings.
- Service
Account stringId - The service account that will be used by the Log Router to access your Cloud KMS key.Before enabling CMEK for Log Router, you must first assign the cloudkms.cryptoKeyEncrypterDecrypter role to the service account that the Log Router will use to access your Cloud KMS key. Use GetCmekSettings to obtain the service account ID.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
- kms
Key StringName - The resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"To enable CMEK for the Log Router, set this field to a valid kms_key_name for which the associated service account has the needed cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.The Cloud KMS key used by the Log Router can be updated by changing the kms_key_name to a new valid key name or disabled by setting the key name to an empty string. Encryption operations that are in progress will be completed with the key that was in use when they started. Decryption operations will be completed using the key that was used at the time of encryption unless access to that key has been revoked.To disable CMEK for the Log Router, set this field to an empty string.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
- kms
Key StringVersion Name - The CryptoKeyVersion resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"This is a read-only field used to convey the specific configured CryptoKeyVersion of kms_key that has been configured. It will be populated in cases where the CMEK settings are bound to a single key version.If this field is populated, the kms_key is tied to a specific CryptoKeyVersion.
- name String
- The resource name of the CMEK settings.
- service
Account StringId - The service account that will be used by the Log Router to access your Cloud KMS key.Before enabling CMEK for Log Router, you must first assign the cloudkms.cryptoKeyEncrypterDecrypter role to the service account that the Log Router will use to access your Cloud KMS key. Use GetCmekSettings to obtain the service account ID.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
- kms
Key stringName - The resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"To enable CMEK for the Log Router, set this field to a valid kms_key_name for which the associated service account has the needed cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.The Cloud KMS key used by the Log Router can be updated by changing the kms_key_name to a new valid key name or disabled by setting the key name to an empty string. Encryption operations that are in progress will be completed with the key that was in use when they started. Decryption operations will be completed using the key that was used at the time of encryption unless access to that key has been revoked.To disable CMEK for the Log Router, set this field to an empty string.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
- kms
Key stringVersion Name - The CryptoKeyVersion resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"This is a read-only field used to convey the specific configured CryptoKeyVersion of kms_key that has been configured. It will be populated in cases where the CMEK settings are bound to a single key version.If this field is populated, the kms_key is tied to a specific CryptoKeyVersion.
- name string
- The resource name of the CMEK settings.
- service
Account stringId - The service account that will be used by the Log Router to access your Cloud KMS key.Before enabling CMEK for Log Router, you must first assign the cloudkms.cryptoKeyEncrypterDecrypter role to the service account that the Log Router will use to access your Cloud KMS key. Use GetCmekSettings to obtain the service account ID.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
- kms_
key_ strname - The resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"To enable CMEK for the Log Router, set this field to a valid kms_key_name for which the associated service account has the needed cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.The Cloud KMS key used by the Log Router can be updated by changing the kms_key_name to a new valid key name or disabled by setting the key name to an empty string. Encryption operations that are in progress will be completed with the key that was in use when they started. Decryption operations will be completed using the key that was used at the time of encryption unless access to that key has been revoked.To disable CMEK for the Log Router, set this field to an empty string.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
- kms_
key_ strversion_ name - The CryptoKeyVersion resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"This is a read-only field used to convey the specific configured CryptoKeyVersion of kms_key that has been configured. It will be populated in cases where the CMEK settings are bound to a single key version.If this field is populated, the kms_key is tied to a specific CryptoKeyVersion.
- name str
- The resource name of the CMEK settings.
- service_
account_ strid - The service account that will be used by the Log Router to access your Cloud KMS key.Before enabling CMEK for Log Router, you must first assign the cloudkms.cryptoKeyEncrypterDecrypter role to the service account that the Log Router will use to access your Cloud KMS key. Use GetCmekSettings to obtain the service account ID.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
- kms
Key StringName - The resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"To enable CMEK for the Log Router, set this field to a valid kms_key_name for which the associated service account has the needed cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.The Cloud KMS key used by the Log Router can be updated by changing the kms_key_name to a new valid key name or disabled by setting the key name to an empty string. Encryption operations that are in progress will be completed with the key that was in use when they started. Decryption operations will be completed using the key that was used at the time of encryption unless access to that key has been revoked.To disable CMEK for the Log Router, set this field to an empty string.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
- kms
Key StringVersion Name - The CryptoKeyVersion resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"This is a read-only field used to convey the specific configured CryptoKeyVersion of kms_key that has been configured. It will be populated in cases where the CMEK settings are bound to a single key version.If this field is populated, the kms_key is tied to a specific CryptoKeyVersion.
- name String
- The resource name of the CMEK settings.
- service
Account StringId - The service account that will be used by the Log Router to access your Cloud KMS key.Before enabling CMEK for Log Router, you must first assign the cloudkms.cryptoKeyEncrypterDecrypter role to the service account that the Log Router will use to access your Cloud KMS key. Use GetCmekSettings to obtain the service account ID.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
IndexConfig, IndexConfigArgs
- Field
Path string - The LogEntry field path to index.Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation( https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields) for details.For example: jsonPayload.request.status
- Type
Pulumi.
Google Native. Logging. V2. Index Config Type - The type of data in this index.
- Field
Path string - The LogEntry field path to index.Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation( https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields) for details.For example: jsonPayload.request.status
- Type
Index
Config Type - The type of data in this index.
- field
Path String - The LogEntry field path to index.Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation( https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields) for details.For example: jsonPayload.request.status
- type
Index
Config Type - The type of data in this index.
- field
Path string - The LogEntry field path to index.Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation( https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields) for details.For example: jsonPayload.request.status
- type
Index
Config Type - The type of data in this index.
- field_
path str - The LogEntry field path to index.Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation( https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields) for details.For example: jsonPayload.request.status
- type
Index
Config Type - The type of data in this index.
- field
Path String - The LogEntry field path to index.Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation( https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields) for details.For example: jsonPayload.request.status
- type "INDEX_TYPE_UNSPECIFIED" | "INDEX_TYPE_STRING" | "INDEX_TYPE_INTEGER"
- The type of data in this index.
IndexConfigResponse, IndexConfigResponseArgs
- Create
Time string - The timestamp when the index was last modified.This is used to return the timestamp, and will be ignored if supplied during update.
- Field
Path string - The LogEntry field path to index.Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation( https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields) for details.For example: jsonPayload.request.status
- Type string
- The type of data in this index.
- Create
Time string - The timestamp when the index was last modified.This is used to return the timestamp, and will be ignored if supplied during update.
- Field
Path string - The LogEntry field path to index.Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation( https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields) for details.For example: jsonPayload.request.status
- Type string
- The type of data in this index.
- create
Time String - The timestamp when the index was last modified.This is used to return the timestamp, and will be ignored if supplied during update.
- field
Path String - The LogEntry field path to index.Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation( https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields) for details.For example: jsonPayload.request.status
- type String
- The type of data in this index.
- create
Time string - The timestamp when the index was last modified.This is used to return the timestamp, and will be ignored if supplied during update.
- field
Path string - The LogEntry field path to index.Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation( https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields) for details.For example: jsonPayload.request.status
- type string
- The type of data in this index.
- create_
time str - The timestamp when the index was last modified.This is used to return the timestamp, and will be ignored if supplied during update.
- field_
path str - The LogEntry field path to index.Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation( https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields) for details.For example: jsonPayload.request.status
- type str
- The type of data in this index.
- create
Time String - The timestamp when the index was last modified.This is used to return the timestamp, and will be ignored if supplied during update.
- field
Path String - The LogEntry field path to index.Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation( https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields) for details.For example: jsonPayload.request.status
- type String
- The type of data in this index.
IndexConfigType, IndexConfigTypeArgs
- Index
Type Unspecified - INDEX_TYPE_UNSPECIFIEDThe index's type is unspecified.
- Index
Type String - INDEX_TYPE_STRINGThe index is a string-type index.
- Index
Type Integer - INDEX_TYPE_INTEGERThe index is a integer-type index.
- Index
Config Type Index Type Unspecified - INDEX_TYPE_UNSPECIFIEDThe index's type is unspecified.
- Index
Config Type Index Type String - INDEX_TYPE_STRINGThe index is a string-type index.
- Index
Config Type Index Type Integer - INDEX_TYPE_INTEGERThe index is a integer-type index.
- Index
Type Unspecified - INDEX_TYPE_UNSPECIFIEDThe index's type is unspecified.
- Index
Type String - INDEX_TYPE_STRINGThe index is a string-type index.
- Index
Type Integer - INDEX_TYPE_INTEGERThe index is a integer-type index.
- Index
Type Unspecified - INDEX_TYPE_UNSPECIFIEDThe index's type is unspecified.
- Index
Type String - INDEX_TYPE_STRINGThe index is a string-type index.
- Index
Type Integer - INDEX_TYPE_INTEGERThe index is a integer-type index.
- INDEX_TYPE_UNSPECIFIED
- INDEX_TYPE_UNSPECIFIEDThe index's type is unspecified.
- INDEX_TYPE_STRING
- INDEX_TYPE_STRINGThe index is a string-type index.
- INDEX_TYPE_INTEGER
- INDEX_TYPE_INTEGERThe index is a integer-type index.
- "INDEX_TYPE_UNSPECIFIED"
- INDEX_TYPE_UNSPECIFIEDThe index's type is unspecified.
- "INDEX_TYPE_STRING"
- INDEX_TYPE_STRINGThe index is a string-type index.
- "INDEX_TYPE_INTEGER"
- INDEX_TYPE_INTEGERThe index is a integer-type index.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.