Documentation ¶
Index ¶
- type NotificationConfig
- type NotificationConfigArgs
- type NotificationConfigArray
- type NotificationConfigArrayInput
- type NotificationConfigArrayOutput
- func (NotificationConfigArrayOutput) ElementType() reflect.Type
- func (o NotificationConfigArrayOutput) Index(i pulumi.IntInput) NotificationConfigOutput
- func (o NotificationConfigArrayOutput) ToNotificationConfigArrayOutput() NotificationConfigArrayOutput
- func (o NotificationConfigArrayOutput) ToNotificationConfigArrayOutputWithContext(ctx context.Context) NotificationConfigArrayOutput
- type NotificationConfigInput
- type NotificationConfigMap
- type NotificationConfigMapInput
- type NotificationConfigMapOutput
- func (NotificationConfigMapOutput) ElementType() reflect.Type
- func (o NotificationConfigMapOutput) MapIndex(k pulumi.StringInput) NotificationConfigOutput
- func (o NotificationConfigMapOutput) ToNotificationConfigMapOutput() NotificationConfigMapOutput
- func (o NotificationConfigMapOutput) ToNotificationConfigMapOutputWithContext(ctx context.Context) NotificationConfigMapOutput
- type NotificationConfigOutput
- func (o NotificationConfigOutput) ConfigId() pulumi.StringOutput
- func (o NotificationConfigOutput) Description() pulumi.StringPtrOutput
- func (NotificationConfigOutput) ElementType() reflect.Type
- func (o NotificationConfigOutput) Name() pulumi.StringOutput
- func (o NotificationConfigOutput) Organization() pulumi.StringOutput
- func (o NotificationConfigOutput) PubsubTopic() pulumi.StringOutput
- func (o NotificationConfigOutput) ServiceAccount() pulumi.StringOutput
- func (o NotificationConfigOutput) StreamingConfig() NotificationConfigStreamingConfigOutput
- func (o NotificationConfigOutput) ToNotificationConfigOutput() NotificationConfigOutput
- func (o NotificationConfigOutput) ToNotificationConfigOutputWithContext(ctx context.Context) NotificationConfigOutput
- type NotificationConfigState
- type NotificationConfigStreamingConfig
- type NotificationConfigStreamingConfigArgs
- func (NotificationConfigStreamingConfigArgs) ElementType() reflect.Type
- func (i NotificationConfigStreamingConfigArgs) ToNotificationConfigStreamingConfigOutput() NotificationConfigStreamingConfigOutput
- func (i NotificationConfigStreamingConfigArgs) ToNotificationConfigStreamingConfigOutputWithContext(ctx context.Context) NotificationConfigStreamingConfigOutput
- func (i NotificationConfigStreamingConfigArgs) ToNotificationConfigStreamingConfigPtrOutput() NotificationConfigStreamingConfigPtrOutput
- func (i NotificationConfigStreamingConfigArgs) ToNotificationConfigStreamingConfigPtrOutputWithContext(ctx context.Context) NotificationConfigStreamingConfigPtrOutput
- type NotificationConfigStreamingConfigInput
- type NotificationConfigStreamingConfigOutput
- func (NotificationConfigStreamingConfigOutput) ElementType() reflect.Type
- func (o NotificationConfigStreamingConfigOutput) Filter() pulumi.StringOutput
- func (o NotificationConfigStreamingConfigOutput) ToNotificationConfigStreamingConfigOutput() NotificationConfigStreamingConfigOutput
- func (o NotificationConfigStreamingConfigOutput) ToNotificationConfigStreamingConfigOutputWithContext(ctx context.Context) NotificationConfigStreamingConfigOutput
- func (o NotificationConfigStreamingConfigOutput) ToNotificationConfigStreamingConfigPtrOutput() NotificationConfigStreamingConfigPtrOutput
- func (o NotificationConfigStreamingConfigOutput) ToNotificationConfigStreamingConfigPtrOutputWithContext(ctx context.Context) NotificationConfigStreamingConfigPtrOutput
- type NotificationConfigStreamingConfigPtrInput
- type NotificationConfigStreamingConfigPtrOutput
- func (o NotificationConfigStreamingConfigPtrOutput) Elem() NotificationConfigStreamingConfigOutput
- func (NotificationConfigStreamingConfigPtrOutput) ElementType() reflect.Type
- func (o NotificationConfigStreamingConfigPtrOutput) Filter() pulumi.StringPtrOutput
- func (o NotificationConfigStreamingConfigPtrOutput) ToNotificationConfigStreamingConfigPtrOutput() NotificationConfigStreamingConfigPtrOutput
- func (o NotificationConfigStreamingConfigPtrOutput) ToNotificationConfigStreamingConfigPtrOutputWithContext(ctx context.Context) NotificationConfigStreamingConfigPtrOutput
- type Source
- type SourceArgs
- type SourceArray
- type SourceArrayInput
- type SourceArrayOutput
- type SourceIamBinding
- type SourceIamBindingArgs
- type SourceIamBindingArray
- type SourceIamBindingArrayInput
- type SourceIamBindingArrayOutput
- func (SourceIamBindingArrayOutput) ElementType() reflect.Type
- func (o SourceIamBindingArrayOutput) Index(i pulumi.IntInput) SourceIamBindingOutput
- func (o SourceIamBindingArrayOutput) ToSourceIamBindingArrayOutput() SourceIamBindingArrayOutput
- func (o SourceIamBindingArrayOutput) ToSourceIamBindingArrayOutputWithContext(ctx context.Context) SourceIamBindingArrayOutput
- type SourceIamBindingCondition
- type SourceIamBindingConditionArgs
- func (SourceIamBindingConditionArgs) ElementType() reflect.Type
- func (i SourceIamBindingConditionArgs) ToSourceIamBindingConditionOutput() SourceIamBindingConditionOutput
- func (i SourceIamBindingConditionArgs) ToSourceIamBindingConditionOutputWithContext(ctx context.Context) SourceIamBindingConditionOutput
- func (i SourceIamBindingConditionArgs) ToSourceIamBindingConditionPtrOutput() SourceIamBindingConditionPtrOutput
- func (i SourceIamBindingConditionArgs) ToSourceIamBindingConditionPtrOutputWithContext(ctx context.Context) SourceIamBindingConditionPtrOutput
- type SourceIamBindingConditionInput
- type SourceIamBindingConditionOutput
- func (o SourceIamBindingConditionOutput) Description() pulumi.StringPtrOutput
- func (SourceIamBindingConditionOutput) ElementType() reflect.Type
- func (o SourceIamBindingConditionOutput) Expression() pulumi.StringOutput
- func (o SourceIamBindingConditionOutput) Title() pulumi.StringOutput
- func (o SourceIamBindingConditionOutput) ToSourceIamBindingConditionOutput() SourceIamBindingConditionOutput
- func (o SourceIamBindingConditionOutput) ToSourceIamBindingConditionOutputWithContext(ctx context.Context) SourceIamBindingConditionOutput
- func (o SourceIamBindingConditionOutput) ToSourceIamBindingConditionPtrOutput() SourceIamBindingConditionPtrOutput
- func (o SourceIamBindingConditionOutput) ToSourceIamBindingConditionPtrOutputWithContext(ctx context.Context) SourceIamBindingConditionPtrOutput
- type SourceIamBindingConditionPtrInput
- type SourceIamBindingConditionPtrOutput
- func (o SourceIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o SourceIamBindingConditionPtrOutput) Elem() SourceIamBindingConditionOutput
- func (SourceIamBindingConditionPtrOutput) ElementType() reflect.Type
- func (o SourceIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o SourceIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o SourceIamBindingConditionPtrOutput) ToSourceIamBindingConditionPtrOutput() SourceIamBindingConditionPtrOutput
- func (o SourceIamBindingConditionPtrOutput) ToSourceIamBindingConditionPtrOutputWithContext(ctx context.Context) SourceIamBindingConditionPtrOutput
- type SourceIamBindingInput
- type SourceIamBindingMap
- type SourceIamBindingMapInput
- type SourceIamBindingMapOutput
- func (SourceIamBindingMapOutput) ElementType() reflect.Type
- func (o SourceIamBindingMapOutput) MapIndex(k pulumi.StringInput) SourceIamBindingOutput
- func (o SourceIamBindingMapOutput) ToSourceIamBindingMapOutput() SourceIamBindingMapOutput
- func (o SourceIamBindingMapOutput) ToSourceIamBindingMapOutputWithContext(ctx context.Context) SourceIamBindingMapOutput
- type SourceIamBindingOutput
- func (o SourceIamBindingOutput) Condition() SourceIamBindingConditionPtrOutput
- func (SourceIamBindingOutput) ElementType() reflect.Type
- func (o SourceIamBindingOutput) Etag() pulumi.StringOutput
- func (o SourceIamBindingOutput) Members() pulumi.StringArrayOutput
- func (o SourceIamBindingOutput) Organization() pulumi.StringOutput
- func (o SourceIamBindingOutput) Role() pulumi.StringOutput
- func (o SourceIamBindingOutput) Source() pulumi.StringOutput
- func (o SourceIamBindingOutput) ToSourceIamBindingOutput() SourceIamBindingOutput
- func (o SourceIamBindingOutput) ToSourceIamBindingOutputWithContext(ctx context.Context) SourceIamBindingOutput
- type SourceIamBindingState
- type SourceIamMember
- type SourceIamMemberArgs
- type SourceIamMemberArray
- type SourceIamMemberArrayInput
- type SourceIamMemberArrayOutput
- func (SourceIamMemberArrayOutput) ElementType() reflect.Type
- func (o SourceIamMemberArrayOutput) Index(i pulumi.IntInput) SourceIamMemberOutput
- func (o SourceIamMemberArrayOutput) ToSourceIamMemberArrayOutput() SourceIamMemberArrayOutput
- func (o SourceIamMemberArrayOutput) ToSourceIamMemberArrayOutputWithContext(ctx context.Context) SourceIamMemberArrayOutput
- type SourceIamMemberCondition
- type SourceIamMemberConditionArgs
- func (SourceIamMemberConditionArgs) ElementType() reflect.Type
- func (i SourceIamMemberConditionArgs) ToSourceIamMemberConditionOutput() SourceIamMemberConditionOutput
- func (i SourceIamMemberConditionArgs) ToSourceIamMemberConditionOutputWithContext(ctx context.Context) SourceIamMemberConditionOutput
- func (i SourceIamMemberConditionArgs) ToSourceIamMemberConditionPtrOutput() SourceIamMemberConditionPtrOutput
- func (i SourceIamMemberConditionArgs) ToSourceIamMemberConditionPtrOutputWithContext(ctx context.Context) SourceIamMemberConditionPtrOutput
- type SourceIamMemberConditionInput
- type SourceIamMemberConditionOutput
- func (o SourceIamMemberConditionOutput) Description() pulumi.StringPtrOutput
- func (SourceIamMemberConditionOutput) ElementType() reflect.Type
- func (o SourceIamMemberConditionOutput) Expression() pulumi.StringOutput
- func (o SourceIamMemberConditionOutput) Title() pulumi.StringOutput
- func (o SourceIamMemberConditionOutput) ToSourceIamMemberConditionOutput() SourceIamMemberConditionOutput
- func (o SourceIamMemberConditionOutput) ToSourceIamMemberConditionOutputWithContext(ctx context.Context) SourceIamMemberConditionOutput
- func (o SourceIamMemberConditionOutput) ToSourceIamMemberConditionPtrOutput() SourceIamMemberConditionPtrOutput
- func (o SourceIamMemberConditionOutput) ToSourceIamMemberConditionPtrOutputWithContext(ctx context.Context) SourceIamMemberConditionPtrOutput
- type SourceIamMemberConditionPtrInput
- type SourceIamMemberConditionPtrOutput
- func (o SourceIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o SourceIamMemberConditionPtrOutput) Elem() SourceIamMemberConditionOutput
- func (SourceIamMemberConditionPtrOutput) ElementType() reflect.Type
- func (o SourceIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o SourceIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o SourceIamMemberConditionPtrOutput) ToSourceIamMemberConditionPtrOutput() SourceIamMemberConditionPtrOutput
- func (o SourceIamMemberConditionPtrOutput) ToSourceIamMemberConditionPtrOutputWithContext(ctx context.Context) SourceIamMemberConditionPtrOutput
- type SourceIamMemberInput
- type SourceIamMemberMap
- type SourceIamMemberMapInput
- type SourceIamMemberMapOutput
- func (SourceIamMemberMapOutput) ElementType() reflect.Type
- func (o SourceIamMemberMapOutput) MapIndex(k pulumi.StringInput) SourceIamMemberOutput
- func (o SourceIamMemberMapOutput) ToSourceIamMemberMapOutput() SourceIamMemberMapOutput
- func (o SourceIamMemberMapOutput) ToSourceIamMemberMapOutputWithContext(ctx context.Context) SourceIamMemberMapOutput
- type SourceIamMemberOutput
- func (o SourceIamMemberOutput) Condition() SourceIamMemberConditionPtrOutput
- func (SourceIamMemberOutput) ElementType() reflect.Type
- func (o SourceIamMemberOutput) Etag() pulumi.StringOutput
- func (o SourceIamMemberOutput) Member() pulumi.StringOutput
- func (o SourceIamMemberOutput) Organization() pulumi.StringOutput
- func (o SourceIamMemberOutput) Role() pulumi.StringOutput
- func (o SourceIamMemberOutput) Source() pulumi.StringOutput
- func (o SourceIamMemberOutput) ToSourceIamMemberOutput() SourceIamMemberOutput
- func (o SourceIamMemberOutput) ToSourceIamMemberOutputWithContext(ctx context.Context) SourceIamMemberOutput
- type SourceIamMemberState
- type SourceIamPolicy
- type SourceIamPolicyArgs
- type SourceIamPolicyArray
- type SourceIamPolicyArrayInput
- type SourceIamPolicyArrayOutput
- func (SourceIamPolicyArrayOutput) ElementType() reflect.Type
- func (o SourceIamPolicyArrayOutput) Index(i pulumi.IntInput) SourceIamPolicyOutput
- func (o SourceIamPolicyArrayOutput) ToSourceIamPolicyArrayOutput() SourceIamPolicyArrayOutput
- func (o SourceIamPolicyArrayOutput) ToSourceIamPolicyArrayOutputWithContext(ctx context.Context) SourceIamPolicyArrayOutput
- type SourceIamPolicyInput
- type SourceIamPolicyMap
- type SourceIamPolicyMapInput
- type SourceIamPolicyMapOutput
- func (SourceIamPolicyMapOutput) ElementType() reflect.Type
- func (o SourceIamPolicyMapOutput) MapIndex(k pulumi.StringInput) SourceIamPolicyOutput
- func (o SourceIamPolicyMapOutput) ToSourceIamPolicyMapOutput() SourceIamPolicyMapOutput
- func (o SourceIamPolicyMapOutput) ToSourceIamPolicyMapOutputWithContext(ctx context.Context) SourceIamPolicyMapOutput
- type SourceIamPolicyOutput
- func (SourceIamPolicyOutput) ElementType() reflect.Type
- func (o SourceIamPolicyOutput) Etag() pulumi.StringOutput
- func (o SourceIamPolicyOutput) Organization() pulumi.StringOutput
- func (o SourceIamPolicyOutput) PolicyData() pulumi.StringOutput
- func (o SourceIamPolicyOutput) Source() pulumi.StringOutput
- func (o SourceIamPolicyOutput) ToSourceIamPolicyOutput() SourceIamPolicyOutput
- func (o SourceIamPolicyOutput) ToSourceIamPolicyOutputWithContext(ctx context.Context) SourceIamPolicyOutput
- type SourceIamPolicyState
- type SourceInput
- type SourceMap
- type SourceMapInput
- type SourceMapOutput
- type SourceOutput
- func (o SourceOutput) Description() pulumi.StringPtrOutput
- func (o SourceOutput) DisplayName() pulumi.StringOutput
- func (SourceOutput) ElementType() reflect.Type
- func (o SourceOutput) Name() pulumi.StringOutput
- func (o SourceOutput) Organization() pulumi.StringOutput
- func (o SourceOutput) ToSourceOutput() SourceOutput
- func (o SourceOutput) ToSourceOutputWithContext(ctx context.Context) SourceOutput
- type SourceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotificationConfig ¶
type NotificationConfig struct { pulumi.CustomResourceState // This must be unique within the organization. ConfigId pulumi.StringOutput `pulumi:"configId"` // The description of the notification config (max of 1024 characters). Description pulumi.StringPtrOutput `pulumi:"description"` // The resource name of this notification config, in the format // 'organizations/{{organization}}/notificationConfigs/{{config_id}}'. Name pulumi.StringOutput `pulumi:"name"` // The organization whose Cloud Security Command Center the Notification // Config lives in. Organization pulumi.StringOutput `pulumi:"organization"` // The Pub/Sub topic to send notifications to. Its format is // "projects/[projectId]/topics/[topic]". PubsubTopic pulumi.StringOutput `pulumi:"pubsubTopic"` // The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic. ServiceAccount pulumi.StringOutput `pulumi:"serviceAccount"` // The config for triggering streaming-based notifications. // Structure is documented below. StreamingConfig NotificationConfigStreamingConfigOutput `pulumi:"streamingConfig"` }
A Cloud Security Command Center (Cloud SCC) notification configs. A notification config is a Cloud SCC resource that contains the configuration to send notifications for create/update events of findings, assets and etc. > **Note:** In order to use Cloud SCC resources, your organization must be enrolled in [SCC Standard/Premium](https://cloud.google.com/security-command-center/docs/quickstart-security-command-center). Without doing so, you may run into errors during resource creation.
To get more information about NotificationConfig, see:
* [API documentation](https://cloud.google.com/security-command-center/docs/reference/rest/v1/organizations.notificationConfigs) * How-to Guides
- [Official Documentation](https://cloud.google.com/security-command-center/docs)
## Example Usage ### Scc Notification Config Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/pubsub" "github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/securitycenter" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { sccNotification, err := pubsub.NewTopic(ctx, "sccNotification", nil) if err != nil { return err } _, err = securitycenter.NewNotificationConfig(ctx, "customNotificationConfig", &securitycenter.NotificationConfigArgs{ ConfigId: pulumi.String("my-config"), Organization: pulumi.String("123456789"), Description: pulumi.String("My custom Cloud Security Command Center Finding Notification Configuration"), PubsubTopic: sccNotification.ID(), StreamingConfig: &securitycenter.NotificationConfigStreamingConfigArgs{ Filter: pulumi.String("category = \"OPEN_FIREWALL\" AND state = \"ACTIVE\""), }, }) if err != nil { return err } return nil }) }
```
## Import
NotificationConfig can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:securitycenter/notificationConfig:NotificationConfig default organizations/{{organization}}/notificationConfigs/{{name}}
```
```sh
$ pulumi import gcp:securitycenter/notificationConfig:NotificationConfig default {{organization}}/{{name}}
```
func GetNotificationConfig ¶
func GetNotificationConfig(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NotificationConfigState, opts ...pulumi.ResourceOption) (*NotificationConfig, error)
GetNotificationConfig gets an existing NotificationConfig resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewNotificationConfig ¶
func NewNotificationConfig(ctx *pulumi.Context, name string, args *NotificationConfigArgs, opts ...pulumi.ResourceOption) (*NotificationConfig, error)
NewNotificationConfig registers a new resource with the given unique name, arguments, and options.
func (*NotificationConfig) ElementType ¶
func (*NotificationConfig) ElementType() reflect.Type
func (*NotificationConfig) ToNotificationConfigOutput ¶
func (i *NotificationConfig) ToNotificationConfigOutput() NotificationConfigOutput
func (*NotificationConfig) ToNotificationConfigOutputWithContext ¶
func (i *NotificationConfig) ToNotificationConfigOutputWithContext(ctx context.Context) NotificationConfigOutput
type NotificationConfigArgs ¶
type NotificationConfigArgs struct { // This must be unique within the organization. ConfigId pulumi.StringInput // The description of the notification config (max of 1024 characters). Description pulumi.StringPtrInput // The organization whose Cloud Security Command Center the Notification // Config lives in. Organization pulumi.StringInput // The Pub/Sub topic to send notifications to. Its format is // "projects/[projectId]/topics/[topic]". PubsubTopic pulumi.StringInput // The config for triggering streaming-based notifications. // Structure is documented below. StreamingConfig NotificationConfigStreamingConfigInput }
The set of arguments for constructing a NotificationConfig resource.
func (NotificationConfigArgs) ElementType ¶
func (NotificationConfigArgs) ElementType() reflect.Type
type NotificationConfigArray ¶
type NotificationConfigArray []NotificationConfigInput
func (NotificationConfigArray) ElementType ¶
func (NotificationConfigArray) ElementType() reflect.Type
func (NotificationConfigArray) ToNotificationConfigArrayOutput ¶
func (i NotificationConfigArray) ToNotificationConfigArrayOutput() NotificationConfigArrayOutput
func (NotificationConfigArray) ToNotificationConfigArrayOutputWithContext ¶
func (i NotificationConfigArray) ToNotificationConfigArrayOutputWithContext(ctx context.Context) NotificationConfigArrayOutput
type NotificationConfigArrayInput ¶
type NotificationConfigArrayInput interface { pulumi.Input ToNotificationConfigArrayOutput() NotificationConfigArrayOutput ToNotificationConfigArrayOutputWithContext(context.Context) NotificationConfigArrayOutput }
NotificationConfigArrayInput is an input type that accepts NotificationConfigArray and NotificationConfigArrayOutput values. You can construct a concrete instance of `NotificationConfigArrayInput` via:
NotificationConfigArray{ NotificationConfigArgs{...} }
type NotificationConfigArrayOutput ¶
type NotificationConfigArrayOutput struct{ *pulumi.OutputState }
func (NotificationConfigArrayOutput) ElementType ¶
func (NotificationConfigArrayOutput) ElementType() reflect.Type
func (NotificationConfigArrayOutput) Index ¶
func (o NotificationConfigArrayOutput) Index(i pulumi.IntInput) NotificationConfigOutput
func (NotificationConfigArrayOutput) ToNotificationConfigArrayOutput ¶
func (o NotificationConfigArrayOutput) ToNotificationConfigArrayOutput() NotificationConfigArrayOutput
func (NotificationConfigArrayOutput) ToNotificationConfigArrayOutputWithContext ¶
func (o NotificationConfigArrayOutput) ToNotificationConfigArrayOutputWithContext(ctx context.Context) NotificationConfigArrayOutput
type NotificationConfigInput ¶
type NotificationConfigInput interface { pulumi.Input ToNotificationConfigOutput() NotificationConfigOutput ToNotificationConfigOutputWithContext(ctx context.Context) NotificationConfigOutput }
type NotificationConfigMap ¶
type NotificationConfigMap map[string]NotificationConfigInput
func (NotificationConfigMap) ElementType ¶
func (NotificationConfigMap) ElementType() reflect.Type
func (NotificationConfigMap) ToNotificationConfigMapOutput ¶
func (i NotificationConfigMap) ToNotificationConfigMapOutput() NotificationConfigMapOutput
func (NotificationConfigMap) ToNotificationConfigMapOutputWithContext ¶
func (i NotificationConfigMap) ToNotificationConfigMapOutputWithContext(ctx context.Context) NotificationConfigMapOutput
type NotificationConfigMapInput ¶
type NotificationConfigMapInput interface { pulumi.Input ToNotificationConfigMapOutput() NotificationConfigMapOutput ToNotificationConfigMapOutputWithContext(context.Context) NotificationConfigMapOutput }
NotificationConfigMapInput is an input type that accepts NotificationConfigMap and NotificationConfigMapOutput values. You can construct a concrete instance of `NotificationConfigMapInput` via:
NotificationConfigMap{ "key": NotificationConfigArgs{...} }
type NotificationConfigMapOutput ¶
type NotificationConfigMapOutput struct{ *pulumi.OutputState }
func (NotificationConfigMapOutput) ElementType ¶
func (NotificationConfigMapOutput) ElementType() reflect.Type
func (NotificationConfigMapOutput) MapIndex ¶
func (o NotificationConfigMapOutput) MapIndex(k pulumi.StringInput) NotificationConfigOutput
func (NotificationConfigMapOutput) ToNotificationConfigMapOutput ¶
func (o NotificationConfigMapOutput) ToNotificationConfigMapOutput() NotificationConfigMapOutput
func (NotificationConfigMapOutput) ToNotificationConfigMapOutputWithContext ¶
func (o NotificationConfigMapOutput) ToNotificationConfigMapOutputWithContext(ctx context.Context) NotificationConfigMapOutput
type NotificationConfigOutput ¶
type NotificationConfigOutput struct{ *pulumi.OutputState }
func (NotificationConfigOutput) ConfigId ¶ added in v6.23.0
func (o NotificationConfigOutput) ConfigId() pulumi.StringOutput
This must be unique within the organization.
func (NotificationConfigOutput) Description ¶ added in v6.23.0
func (o NotificationConfigOutput) Description() pulumi.StringPtrOutput
The description of the notification config (max of 1024 characters).
func (NotificationConfigOutput) ElementType ¶
func (NotificationConfigOutput) ElementType() reflect.Type
func (NotificationConfigOutput) Name ¶ added in v6.23.0
func (o NotificationConfigOutput) Name() pulumi.StringOutput
The resource name of this notification config, in the format 'organizations/{{organization}}/notificationConfigs/{{config_id}}'.
func (NotificationConfigOutput) Organization ¶ added in v6.23.0
func (o NotificationConfigOutput) Organization() pulumi.StringOutput
The organization whose Cloud Security Command Center the Notification Config lives in.
func (NotificationConfigOutput) PubsubTopic ¶ added in v6.23.0
func (o NotificationConfigOutput) PubsubTopic() pulumi.StringOutput
The Pub/Sub topic to send notifications to. Its format is "projects/[projectId]/topics/[topic]".
func (NotificationConfigOutput) ServiceAccount ¶ added in v6.23.0
func (o NotificationConfigOutput) ServiceAccount() pulumi.StringOutput
The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
func (NotificationConfigOutput) StreamingConfig ¶ added in v6.23.0
func (o NotificationConfigOutput) StreamingConfig() NotificationConfigStreamingConfigOutput
The config for triggering streaming-based notifications. Structure is documented below.
func (NotificationConfigOutput) ToNotificationConfigOutput ¶
func (o NotificationConfigOutput) ToNotificationConfigOutput() NotificationConfigOutput
func (NotificationConfigOutput) ToNotificationConfigOutputWithContext ¶
func (o NotificationConfigOutput) ToNotificationConfigOutputWithContext(ctx context.Context) NotificationConfigOutput
type NotificationConfigState ¶
type NotificationConfigState struct { // This must be unique within the organization. ConfigId pulumi.StringPtrInput // The description of the notification config (max of 1024 characters). Description pulumi.StringPtrInput // The resource name of this notification config, in the format // 'organizations/{{organization}}/notificationConfigs/{{config_id}}'. Name pulumi.StringPtrInput // The organization whose Cloud Security Command Center the Notification // Config lives in. Organization pulumi.StringPtrInput // The Pub/Sub topic to send notifications to. Its format is // "projects/[projectId]/topics/[topic]". PubsubTopic pulumi.StringPtrInput // The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic. ServiceAccount pulumi.StringPtrInput // The config for triggering streaming-based notifications. // Structure is documented below. StreamingConfig NotificationConfigStreamingConfigPtrInput }
func (NotificationConfigState) ElementType ¶
func (NotificationConfigState) ElementType() reflect.Type
type NotificationConfigStreamingConfig ¶
type NotificationConfigStreamingConfig struct { // Expression that defines the filter to apply across create/update // events of assets or findings as specified by the event type. The // expression is a list of zero or more restrictions combined via // logical operators AND and OR. Parentheses are supported, and OR // has higher precedence than AND. // Restrictions have the form <field> <operator> <value> and may have // a - character in front of them to indicate negation. The fields // map to those defined in the corresponding resource. // The supported operators are: // * = for all value types. // * > , <, >=, <= for integer values. // * :, meaning substring matching, for strings. // The supported value types are: // * string literals in quotes. // * integer literals without quotes. // * boolean literals true and false without quotes. // See // [Filtering notifications](https://cloud.google.com/security-command-center/docs/how-to-api-filter-notifications) // for information on how to write a filter. Filter string `pulumi:"filter"` }
type NotificationConfigStreamingConfigArgs ¶
type NotificationConfigStreamingConfigArgs struct { // Expression that defines the filter to apply across create/update // events of assets or findings as specified by the event type. The // expression is a list of zero or more restrictions combined via // logical operators AND and OR. Parentheses are supported, and OR // has higher precedence than AND. // Restrictions have the form <field> <operator> <value> and may have // a - character in front of them to indicate negation. The fields // map to those defined in the corresponding resource. // The supported operators are: // * = for all value types. // * > , <, >=, <= for integer values. // * :, meaning substring matching, for strings. // The supported value types are: // * string literals in quotes. // * integer literals without quotes. // * boolean literals true and false without quotes. // See // [Filtering notifications](https://cloud.google.com/security-command-center/docs/how-to-api-filter-notifications) // for information on how to write a filter. Filter pulumi.StringInput `pulumi:"filter"` }
func (NotificationConfigStreamingConfigArgs) ElementType ¶
func (NotificationConfigStreamingConfigArgs) ElementType() reflect.Type
func (NotificationConfigStreamingConfigArgs) ToNotificationConfigStreamingConfigOutput ¶
func (i NotificationConfigStreamingConfigArgs) ToNotificationConfigStreamingConfigOutput() NotificationConfigStreamingConfigOutput
func (NotificationConfigStreamingConfigArgs) ToNotificationConfigStreamingConfigOutputWithContext ¶
func (i NotificationConfigStreamingConfigArgs) ToNotificationConfigStreamingConfigOutputWithContext(ctx context.Context) NotificationConfigStreamingConfigOutput
func (NotificationConfigStreamingConfigArgs) ToNotificationConfigStreamingConfigPtrOutput ¶
func (i NotificationConfigStreamingConfigArgs) ToNotificationConfigStreamingConfigPtrOutput() NotificationConfigStreamingConfigPtrOutput
func (NotificationConfigStreamingConfigArgs) ToNotificationConfigStreamingConfigPtrOutputWithContext ¶
func (i NotificationConfigStreamingConfigArgs) ToNotificationConfigStreamingConfigPtrOutputWithContext(ctx context.Context) NotificationConfigStreamingConfigPtrOutput
type NotificationConfigStreamingConfigInput ¶
type NotificationConfigStreamingConfigInput interface { pulumi.Input ToNotificationConfigStreamingConfigOutput() NotificationConfigStreamingConfigOutput ToNotificationConfigStreamingConfigOutputWithContext(context.Context) NotificationConfigStreamingConfigOutput }
NotificationConfigStreamingConfigInput is an input type that accepts NotificationConfigStreamingConfigArgs and NotificationConfigStreamingConfigOutput values. You can construct a concrete instance of `NotificationConfigStreamingConfigInput` via:
NotificationConfigStreamingConfigArgs{...}
type NotificationConfigStreamingConfigOutput ¶
type NotificationConfigStreamingConfigOutput struct{ *pulumi.OutputState }
func (NotificationConfigStreamingConfigOutput) ElementType ¶
func (NotificationConfigStreamingConfigOutput) ElementType() reflect.Type
func (NotificationConfigStreamingConfigOutput) Filter ¶
func (o NotificationConfigStreamingConfigOutput) Filter() pulumi.StringOutput
Expression that defines the filter to apply across create/update events of assets or findings as specified by the event type. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND. Restrictions have the form <field> <operator> <value> and may have a - character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are:
- = for all value types.
- > , <, >=, <= for integer values.
- :, meaning substring matching, for strings. The supported value types are:
- string literals in quotes.
- integer literals without quotes.
- boolean literals true and false without quotes. See [Filtering notifications](https://cloud.google.com/security-command-center/docs/how-to-api-filter-notifications) for information on how to write a filter.
func (NotificationConfigStreamingConfigOutput) ToNotificationConfigStreamingConfigOutput ¶
func (o NotificationConfigStreamingConfigOutput) ToNotificationConfigStreamingConfigOutput() NotificationConfigStreamingConfigOutput
func (NotificationConfigStreamingConfigOutput) ToNotificationConfigStreamingConfigOutputWithContext ¶
func (o NotificationConfigStreamingConfigOutput) ToNotificationConfigStreamingConfigOutputWithContext(ctx context.Context) NotificationConfigStreamingConfigOutput
func (NotificationConfigStreamingConfigOutput) ToNotificationConfigStreamingConfigPtrOutput ¶
func (o NotificationConfigStreamingConfigOutput) ToNotificationConfigStreamingConfigPtrOutput() NotificationConfigStreamingConfigPtrOutput
func (NotificationConfigStreamingConfigOutput) ToNotificationConfigStreamingConfigPtrOutputWithContext ¶
func (o NotificationConfigStreamingConfigOutput) ToNotificationConfigStreamingConfigPtrOutputWithContext(ctx context.Context) NotificationConfigStreamingConfigPtrOutput
type NotificationConfigStreamingConfigPtrInput ¶
type NotificationConfigStreamingConfigPtrInput interface { pulumi.Input ToNotificationConfigStreamingConfigPtrOutput() NotificationConfigStreamingConfigPtrOutput ToNotificationConfigStreamingConfigPtrOutputWithContext(context.Context) NotificationConfigStreamingConfigPtrOutput }
NotificationConfigStreamingConfigPtrInput is an input type that accepts NotificationConfigStreamingConfigArgs, NotificationConfigStreamingConfigPtr and NotificationConfigStreamingConfigPtrOutput values. You can construct a concrete instance of `NotificationConfigStreamingConfigPtrInput` via:
NotificationConfigStreamingConfigArgs{...} or: nil
func NotificationConfigStreamingConfigPtr ¶
func NotificationConfigStreamingConfigPtr(v *NotificationConfigStreamingConfigArgs) NotificationConfigStreamingConfigPtrInput
type NotificationConfigStreamingConfigPtrOutput ¶
type NotificationConfigStreamingConfigPtrOutput struct{ *pulumi.OutputState }
func (NotificationConfigStreamingConfigPtrOutput) ElementType ¶
func (NotificationConfigStreamingConfigPtrOutput) ElementType() reflect.Type
func (NotificationConfigStreamingConfigPtrOutput) Filter ¶
func (o NotificationConfigStreamingConfigPtrOutput) Filter() pulumi.StringPtrOutput
Expression that defines the filter to apply across create/update events of assets or findings as specified by the event type. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND. Restrictions have the form <field> <operator> <value> and may have a - character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are:
- = for all value types.
- > , <, >=, <= for integer values.
- :, meaning substring matching, for strings. The supported value types are:
- string literals in quotes.
- integer literals without quotes.
- boolean literals true and false without quotes. See [Filtering notifications](https://cloud.google.com/security-command-center/docs/how-to-api-filter-notifications) for information on how to write a filter.
func (NotificationConfigStreamingConfigPtrOutput) ToNotificationConfigStreamingConfigPtrOutput ¶
func (o NotificationConfigStreamingConfigPtrOutput) ToNotificationConfigStreamingConfigPtrOutput() NotificationConfigStreamingConfigPtrOutput
func (NotificationConfigStreamingConfigPtrOutput) ToNotificationConfigStreamingConfigPtrOutputWithContext ¶
func (o NotificationConfigStreamingConfigPtrOutput) ToNotificationConfigStreamingConfigPtrOutputWithContext(ctx context.Context) NotificationConfigStreamingConfigPtrOutput
type Source ¶
type Source struct { pulumi.CustomResourceState // The description of the source (max of 1024 characters). Description pulumi.StringPtrOutput `pulumi:"description"` // The source’s display name. A source’s display name must be unique // amongst its siblings, for example, two sources with the same parent // can't share the same display name. The display name must start and end // with a letter or digit, may contain letters, digits, spaces, hyphens, // and underscores, and can be no longer than 32 characters. DisplayName pulumi.StringOutput `pulumi:"displayName"` // The resource name of this source, in the format 'organizations/{{organization}}/sources/{{source}}'. Name pulumi.StringOutput `pulumi:"name"` // The organization whose Cloud Security Command Center the Source // lives in. Organization pulumi.StringOutput `pulumi:"organization"` }
A Cloud Security Command Center's (Cloud SCC) finding source. A finding source is an entity or a mechanism that can produce a finding. A source is like a container of findings that come from the same scanner, logger, monitor, etc.
To get more information about Source, see:
* [API documentation](https://cloud.google.com/security-command-center/docs/reference/rest/v1/organizations.sources) * How-to Guides
- [Official Documentation](https://cloud.google.com/security-command-center/docs)
## Example Usage ### Scc Source Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/securitycenter" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := securitycenter.NewSource(ctx, "customSource", &securitycenter.SourceArgs{ Description: pulumi.String("My custom Cloud Security Command Center Finding Source"), DisplayName: pulumi.String("My Source"), Organization: pulumi.String("123456789"), }) if err != nil { return err } return nil }) }
```
## Import
Source can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:securitycenter/source:Source default organizations/{{organization}}/sources/{{name}}
```
```sh
$ pulumi import gcp:securitycenter/source:Source default {{organization}}/{{name}}
```
func GetSource ¶
func GetSource(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SourceState, opts ...pulumi.ResourceOption) (*Source, error)
GetSource gets an existing Source resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSource ¶
func NewSource(ctx *pulumi.Context, name string, args *SourceArgs, opts ...pulumi.ResourceOption) (*Source, error)
NewSource registers a new resource with the given unique name, arguments, and options.
func (*Source) ElementType ¶
func (*Source) ToSourceOutput ¶
func (i *Source) ToSourceOutput() SourceOutput
func (*Source) ToSourceOutputWithContext ¶
func (i *Source) ToSourceOutputWithContext(ctx context.Context) SourceOutput
type SourceArgs ¶
type SourceArgs struct { // The description of the source (max of 1024 characters). Description pulumi.StringPtrInput // The source’s display name. A source’s display name must be unique // amongst its siblings, for example, two sources with the same parent // can't share the same display name. The display name must start and end // with a letter or digit, may contain letters, digits, spaces, hyphens, // and underscores, and can be no longer than 32 characters. DisplayName pulumi.StringInput // The organization whose Cloud Security Command Center the Source // lives in. Organization pulumi.StringInput }
The set of arguments for constructing a Source resource.
func (SourceArgs) ElementType ¶
func (SourceArgs) ElementType() reflect.Type
type SourceArray ¶
type SourceArray []SourceInput
func (SourceArray) ElementType ¶
func (SourceArray) ElementType() reflect.Type
func (SourceArray) ToSourceArrayOutput ¶
func (i SourceArray) ToSourceArrayOutput() SourceArrayOutput
func (SourceArray) ToSourceArrayOutputWithContext ¶
func (i SourceArray) ToSourceArrayOutputWithContext(ctx context.Context) SourceArrayOutput
type SourceArrayInput ¶
type SourceArrayInput interface { pulumi.Input ToSourceArrayOutput() SourceArrayOutput ToSourceArrayOutputWithContext(context.Context) SourceArrayOutput }
SourceArrayInput is an input type that accepts SourceArray and SourceArrayOutput values. You can construct a concrete instance of `SourceArrayInput` via:
SourceArray{ SourceArgs{...} }
type SourceArrayOutput ¶
type SourceArrayOutput struct{ *pulumi.OutputState }
func (SourceArrayOutput) ElementType ¶
func (SourceArrayOutput) ElementType() reflect.Type
func (SourceArrayOutput) Index ¶
func (o SourceArrayOutput) Index(i pulumi.IntInput) SourceOutput
func (SourceArrayOutput) ToSourceArrayOutput ¶
func (o SourceArrayOutput) ToSourceArrayOutput() SourceArrayOutput
func (SourceArrayOutput) ToSourceArrayOutputWithContext ¶
func (o SourceArrayOutput) ToSourceArrayOutputWithContext(ctx context.Context) SourceArrayOutput
type SourceIamBinding ¶ added in v6.42.0
type SourceIamBinding struct { pulumi.CustomResourceState Condition SourceIamBindingConditionPtrOutput `pulumi:"condition"` Etag pulumi.StringOutput `pulumi:"etag"` Members pulumi.StringArrayOutput `pulumi:"members"` // The organization whose Cloud Security Command Center the Source // lives in. Organization pulumi.StringOutput `pulumi:"organization"` Role pulumi.StringOutput `pulumi:"role"` Source pulumi.StringOutput `pulumi:"source"` }
A Cloud Security Command Center's (Cloud SCC) finding source. A finding source is an entity or a mechanism that can produce a finding. A source is like a container of findings that come from the same scanner, logger, monitor, etc.
To get more information about Source, see:
* [API documentation](https://cloud.google.com/security-command-center/docs/reference/rest/v1/organizations.sources) * How-to Guides
- [Official Documentation](https://cloud.google.com/security-command-center/docs)
## Example Usage ### Scc Source Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/securitycenter" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := securitycenter.NewSource(ctx, "customSource", &securitycenter.SourceArgs{ Description: pulumi.String("My custom Cloud Security Command Center Finding Source"), DisplayName: pulumi.String("My Source"), Organization: pulumi.String("123456789"), }) if err != nil { return err } return nil }) }
```
## Import
Source can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:securitycenter/sourceIamBinding:SourceIamBinding default organizations/{{organization}}/sources/{{name}}
```
```sh
$ pulumi import gcp:securitycenter/sourceIamBinding:SourceIamBinding default {{organization}}/{{name}}
```
func GetSourceIamBinding ¶ added in v6.42.0
func GetSourceIamBinding(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SourceIamBindingState, opts ...pulumi.ResourceOption) (*SourceIamBinding, error)
GetSourceIamBinding gets an existing SourceIamBinding resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSourceIamBinding ¶ added in v6.42.0
func NewSourceIamBinding(ctx *pulumi.Context, name string, args *SourceIamBindingArgs, opts ...pulumi.ResourceOption) (*SourceIamBinding, error)
NewSourceIamBinding registers a new resource with the given unique name, arguments, and options.
func (*SourceIamBinding) ElementType ¶ added in v6.42.0
func (*SourceIamBinding) ElementType() reflect.Type
func (*SourceIamBinding) ToSourceIamBindingOutput ¶ added in v6.42.0
func (i *SourceIamBinding) ToSourceIamBindingOutput() SourceIamBindingOutput
func (*SourceIamBinding) ToSourceIamBindingOutputWithContext ¶ added in v6.42.0
func (i *SourceIamBinding) ToSourceIamBindingOutputWithContext(ctx context.Context) SourceIamBindingOutput
type SourceIamBindingArgs ¶ added in v6.42.0
type SourceIamBindingArgs struct { Condition SourceIamBindingConditionPtrInput Members pulumi.StringArrayInput // The organization whose Cloud Security Command Center the Source // lives in. Organization pulumi.StringInput Role pulumi.StringInput Source pulumi.StringInput }
The set of arguments for constructing a SourceIamBinding resource.
func (SourceIamBindingArgs) ElementType ¶ added in v6.42.0
func (SourceIamBindingArgs) ElementType() reflect.Type
type SourceIamBindingArray ¶ added in v6.42.0
type SourceIamBindingArray []SourceIamBindingInput
func (SourceIamBindingArray) ElementType ¶ added in v6.42.0
func (SourceIamBindingArray) ElementType() reflect.Type
func (SourceIamBindingArray) ToSourceIamBindingArrayOutput ¶ added in v6.42.0
func (i SourceIamBindingArray) ToSourceIamBindingArrayOutput() SourceIamBindingArrayOutput
func (SourceIamBindingArray) ToSourceIamBindingArrayOutputWithContext ¶ added in v6.42.0
func (i SourceIamBindingArray) ToSourceIamBindingArrayOutputWithContext(ctx context.Context) SourceIamBindingArrayOutput
type SourceIamBindingArrayInput ¶ added in v6.42.0
type SourceIamBindingArrayInput interface { pulumi.Input ToSourceIamBindingArrayOutput() SourceIamBindingArrayOutput ToSourceIamBindingArrayOutputWithContext(context.Context) SourceIamBindingArrayOutput }
SourceIamBindingArrayInput is an input type that accepts SourceIamBindingArray and SourceIamBindingArrayOutput values. You can construct a concrete instance of `SourceIamBindingArrayInput` via:
SourceIamBindingArray{ SourceIamBindingArgs{...} }
type SourceIamBindingArrayOutput ¶ added in v6.42.0
type SourceIamBindingArrayOutput struct{ *pulumi.OutputState }
func (SourceIamBindingArrayOutput) ElementType ¶ added in v6.42.0
func (SourceIamBindingArrayOutput) ElementType() reflect.Type
func (SourceIamBindingArrayOutput) Index ¶ added in v6.42.0
func (o SourceIamBindingArrayOutput) Index(i pulumi.IntInput) SourceIamBindingOutput
func (SourceIamBindingArrayOutput) ToSourceIamBindingArrayOutput ¶ added in v6.42.0
func (o SourceIamBindingArrayOutput) ToSourceIamBindingArrayOutput() SourceIamBindingArrayOutput
func (SourceIamBindingArrayOutput) ToSourceIamBindingArrayOutputWithContext ¶ added in v6.42.0
func (o SourceIamBindingArrayOutput) ToSourceIamBindingArrayOutputWithContext(ctx context.Context) SourceIamBindingArrayOutput
type SourceIamBindingCondition ¶ added in v6.42.0
type SourceIamBindingConditionArgs ¶ added in v6.42.0
type SourceIamBindingConditionArgs struct { // The description of the source (max of 1024 characters). Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (SourceIamBindingConditionArgs) ElementType ¶ added in v6.42.0
func (SourceIamBindingConditionArgs) ElementType() reflect.Type
func (SourceIamBindingConditionArgs) ToSourceIamBindingConditionOutput ¶ added in v6.42.0
func (i SourceIamBindingConditionArgs) ToSourceIamBindingConditionOutput() SourceIamBindingConditionOutput
func (SourceIamBindingConditionArgs) ToSourceIamBindingConditionOutputWithContext ¶ added in v6.42.0
func (i SourceIamBindingConditionArgs) ToSourceIamBindingConditionOutputWithContext(ctx context.Context) SourceIamBindingConditionOutput
func (SourceIamBindingConditionArgs) ToSourceIamBindingConditionPtrOutput ¶ added in v6.42.0
func (i SourceIamBindingConditionArgs) ToSourceIamBindingConditionPtrOutput() SourceIamBindingConditionPtrOutput
func (SourceIamBindingConditionArgs) ToSourceIamBindingConditionPtrOutputWithContext ¶ added in v6.42.0
func (i SourceIamBindingConditionArgs) ToSourceIamBindingConditionPtrOutputWithContext(ctx context.Context) SourceIamBindingConditionPtrOutput
type SourceIamBindingConditionInput ¶ added in v6.42.0
type SourceIamBindingConditionInput interface { pulumi.Input ToSourceIamBindingConditionOutput() SourceIamBindingConditionOutput ToSourceIamBindingConditionOutputWithContext(context.Context) SourceIamBindingConditionOutput }
SourceIamBindingConditionInput is an input type that accepts SourceIamBindingConditionArgs and SourceIamBindingConditionOutput values. You can construct a concrete instance of `SourceIamBindingConditionInput` via:
SourceIamBindingConditionArgs{...}
type SourceIamBindingConditionOutput ¶ added in v6.42.0
type SourceIamBindingConditionOutput struct{ *pulumi.OutputState }
func (SourceIamBindingConditionOutput) Description ¶ added in v6.42.0
func (o SourceIamBindingConditionOutput) Description() pulumi.StringPtrOutput
The description of the source (max of 1024 characters).
func (SourceIamBindingConditionOutput) ElementType ¶ added in v6.42.0
func (SourceIamBindingConditionOutput) ElementType() reflect.Type
func (SourceIamBindingConditionOutput) Expression ¶ added in v6.42.0
func (o SourceIamBindingConditionOutput) Expression() pulumi.StringOutput
func (SourceIamBindingConditionOutput) Title ¶ added in v6.42.0
func (o SourceIamBindingConditionOutput) Title() pulumi.StringOutput
func (SourceIamBindingConditionOutput) ToSourceIamBindingConditionOutput ¶ added in v6.42.0
func (o SourceIamBindingConditionOutput) ToSourceIamBindingConditionOutput() SourceIamBindingConditionOutput
func (SourceIamBindingConditionOutput) ToSourceIamBindingConditionOutputWithContext ¶ added in v6.42.0
func (o SourceIamBindingConditionOutput) ToSourceIamBindingConditionOutputWithContext(ctx context.Context) SourceIamBindingConditionOutput
func (SourceIamBindingConditionOutput) ToSourceIamBindingConditionPtrOutput ¶ added in v6.42.0
func (o SourceIamBindingConditionOutput) ToSourceIamBindingConditionPtrOutput() SourceIamBindingConditionPtrOutput
func (SourceIamBindingConditionOutput) ToSourceIamBindingConditionPtrOutputWithContext ¶ added in v6.42.0
func (o SourceIamBindingConditionOutput) ToSourceIamBindingConditionPtrOutputWithContext(ctx context.Context) SourceIamBindingConditionPtrOutput
type SourceIamBindingConditionPtrInput ¶ added in v6.42.0
type SourceIamBindingConditionPtrInput interface { pulumi.Input ToSourceIamBindingConditionPtrOutput() SourceIamBindingConditionPtrOutput ToSourceIamBindingConditionPtrOutputWithContext(context.Context) SourceIamBindingConditionPtrOutput }
SourceIamBindingConditionPtrInput is an input type that accepts SourceIamBindingConditionArgs, SourceIamBindingConditionPtr and SourceIamBindingConditionPtrOutput values. You can construct a concrete instance of `SourceIamBindingConditionPtrInput` via:
SourceIamBindingConditionArgs{...} or: nil
func SourceIamBindingConditionPtr ¶ added in v6.42.0
func SourceIamBindingConditionPtr(v *SourceIamBindingConditionArgs) SourceIamBindingConditionPtrInput
type SourceIamBindingConditionPtrOutput ¶ added in v6.42.0
type SourceIamBindingConditionPtrOutput struct{ *pulumi.OutputState }
func (SourceIamBindingConditionPtrOutput) Description ¶ added in v6.42.0
func (o SourceIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
The description of the source (max of 1024 characters).
func (SourceIamBindingConditionPtrOutput) Elem ¶ added in v6.42.0
func (o SourceIamBindingConditionPtrOutput) Elem() SourceIamBindingConditionOutput
func (SourceIamBindingConditionPtrOutput) ElementType ¶ added in v6.42.0
func (SourceIamBindingConditionPtrOutput) ElementType() reflect.Type
func (SourceIamBindingConditionPtrOutput) Expression ¶ added in v6.42.0
func (o SourceIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (SourceIamBindingConditionPtrOutput) Title ¶ added in v6.42.0
func (o SourceIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
func (SourceIamBindingConditionPtrOutput) ToSourceIamBindingConditionPtrOutput ¶ added in v6.42.0
func (o SourceIamBindingConditionPtrOutput) ToSourceIamBindingConditionPtrOutput() SourceIamBindingConditionPtrOutput
func (SourceIamBindingConditionPtrOutput) ToSourceIamBindingConditionPtrOutputWithContext ¶ added in v6.42.0
func (o SourceIamBindingConditionPtrOutput) ToSourceIamBindingConditionPtrOutputWithContext(ctx context.Context) SourceIamBindingConditionPtrOutput
type SourceIamBindingInput ¶ added in v6.42.0
type SourceIamBindingInput interface { pulumi.Input ToSourceIamBindingOutput() SourceIamBindingOutput ToSourceIamBindingOutputWithContext(ctx context.Context) SourceIamBindingOutput }
type SourceIamBindingMap ¶ added in v6.42.0
type SourceIamBindingMap map[string]SourceIamBindingInput
func (SourceIamBindingMap) ElementType ¶ added in v6.42.0
func (SourceIamBindingMap) ElementType() reflect.Type
func (SourceIamBindingMap) ToSourceIamBindingMapOutput ¶ added in v6.42.0
func (i SourceIamBindingMap) ToSourceIamBindingMapOutput() SourceIamBindingMapOutput
func (SourceIamBindingMap) ToSourceIamBindingMapOutputWithContext ¶ added in v6.42.0
func (i SourceIamBindingMap) ToSourceIamBindingMapOutputWithContext(ctx context.Context) SourceIamBindingMapOutput
type SourceIamBindingMapInput ¶ added in v6.42.0
type SourceIamBindingMapInput interface { pulumi.Input ToSourceIamBindingMapOutput() SourceIamBindingMapOutput ToSourceIamBindingMapOutputWithContext(context.Context) SourceIamBindingMapOutput }
SourceIamBindingMapInput is an input type that accepts SourceIamBindingMap and SourceIamBindingMapOutput values. You can construct a concrete instance of `SourceIamBindingMapInput` via:
SourceIamBindingMap{ "key": SourceIamBindingArgs{...} }
type SourceIamBindingMapOutput ¶ added in v6.42.0
type SourceIamBindingMapOutput struct{ *pulumi.OutputState }
func (SourceIamBindingMapOutput) ElementType ¶ added in v6.42.0
func (SourceIamBindingMapOutput) ElementType() reflect.Type
func (SourceIamBindingMapOutput) MapIndex ¶ added in v6.42.0
func (o SourceIamBindingMapOutput) MapIndex(k pulumi.StringInput) SourceIamBindingOutput
func (SourceIamBindingMapOutput) ToSourceIamBindingMapOutput ¶ added in v6.42.0
func (o SourceIamBindingMapOutput) ToSourceIamBindingMapOutput() SourceIamBindingMapOutput
func (SourceIamBindingMapOutput) ToSourceIamBindingMapOutputWithContext ¶ added in v6.42.0
func (o SourceIamBindingMapOutput) ToSourceIamBindingMapOutputWithContext(ctx context.Context) SourceIamBindingMapOutput
type SourceIamBindingOutput ¶ added in v6.42.0
type SourceIamBindingOutput struct{ *pulumi.OutputState }
func (SourceIamBindingOutput) Condition ¶ added in v6.42.0
func (o SourceIamBindingOutput) Condition() SourceIamBindingConditionPtrOutput
func (SourceIamBindingOutput) ElementType ¶ added in v6.42.0
func (SourceIamBindingOutput) ElementType() reflect.Type
func (SourceIamBindingOutput) Etag ¶ added in v6.42.0
func (o SourceIamBindingOutput) Etag() pulumi.StringOutput
func (SourceIamBindingOutput) Members ¶ added in v6.42.0
func (o SourceIamBindingOutput) Members() pulumi.StringArrayOutput
func (SourceIamBindingOutput) Organization ¶ added in v6.42.0
func (o SourceIamBindingOutput) Organization() pulumi.StringOutput
The organization whose Cloud Security Command Center the Source lives in.
func (SourceIamBindingOutput) Role ¶ added in v6.42.0
func (o SourceIamBindingOutput) Role() pulumi.StringOutput
func (SourceIamBindingOutput) Source ¶ added in v6.42.0
func (o SourceIamBindingOutput) Source() pulumi.StringOutput
func (SourceIamBindingOutput) ToSourceIamBindingOutput ¶ added in v6.42.0
func (o SourceIamBindingOutput) ToSourceIamBindingOutput() SourceIamBindingOutput
func (SourceIamBindingOutput) ToSourceIamBindingOutputWithContext ¶ added in v6.42.0
func (o SourceIamBindingOutput) ToSourceIamBindingOutputWithContext(ctx context.Context) SourceIamBindingOutput
type SourceIamBindingState ¶ added in v6.42.0
type SourceIamBindingState struct { Condition SourceIamBindingConditionPtrInput Etag pulumi.StringPtrInput Members pulumi.StringArrayInput // The organization whose Cloud Security Command Center the Source // lives in. Organization pulumi.StringPtrInput Role pulumi.StringPtrInput Source pulumi.StringPtrInput }
func (SourceIamBindingState) ElementType ¶ added in v6.42.0
func (SourceIamBindingState) ElementType() reflect.Type
type SourceIamMember ¶ added in v6.42.0
type SourceIamMember struct { pulumi.CustomResourceState Condition SourceIamMemberConditionPtrOutput `pulumi:"condition"` Etag pulumi.StringOutput `pulumi:"etag"` Member pulumi.StringOutput `pulumi:"member"` // The organization whose Cloud Security Command Center the Source // lives in. Organization pulumi.StringOutput `pulumi:"organization"` Role pulumi.StringOutput `pulumi:"role"` Source pulumi.StringOutput `pulumi:"source"` }
A Cloud Security Command Center's (Cloud SCC) finding source. A finding source is an entity or a mechanism that can produce a finding. A source is like a container of findings that come from the same scanner, logger, monitor, etc.
To get more information about Source, see:
* [API documentation](https://cloud.google.com/security-command-center/docs/reference/rest/v1/organizations.sources) * How-to Guides
- [Official Documentation](https://cloud.google.com/security-command-center/docs)
## Example Usage ### Scc Source Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/securitycenter" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := securitycenter.NewSource(ctx, "customSource", &securitycenter.SourceArgs{ Description: pulumi.String("My custom Cloud Security Command Center Finding Source"), DisplayName: pulumi.String("My Source"), Organization: pulumi.String("123456789"), }) if err != nil { return err } return nil }) }
```
## Import
Source can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:securitycenter/sourceIamMember:SourceIamMember default organizations/{{organization}}/sources/{{name}}
```
```sh
$ pulumi import gcp:securitycenter/sourceIamMember:SourceIamMember default {{organization}}/{{name}}
```
func GetSourceIamMember ¶ added in v6.42.0
func GetSourceIamMember(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SourceIamMemberState, opts ...pulumi.ResourceOption) (*SourceIamMember, error)
GetSourceIamMember gets an existing SourceIamMember resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSourceIamMember ¶ added in v6.42.0
func NewSourceIamMember(ctx *pulumi.Context, name string, args *SourceIamMemberArgs, opts ...pulumi.ResourceOption) (*SourceIamMember, error)
NewSourceIamMember registers a new resource with the given unique name, arguments, and options.
func (*SourceIamMember) ElementType ¶ added in v6.42.0
func (*SourceIamMember) ElementType() reflect.Type
func (*SourceIamMember) ToSourceIamMemberOutput ¶ added in v6.42.0
func (i *SourceIamMember) ToSourceIamMemberOutput() SourceIamMemberOutput
func (*SourceIamMember) ToSourceIamMemberOutputWithContext ¶ added in v6.42.0
func (i *SourceIamMember) ToSourceIamMemberOutputWithContext(ctx context.Context) SourceIamMemberOutput
type SourceIamMemberArgs ¶ added in v6.42.0
type SourceIamMemberArgs struct { Condition SourceIamMemberConditionPtrInput Member pulumi.StringInput // The organization whose Cloud Security Command Center the Source // lives in. Organization pulumi.StringInput Role pulumi.StringInput Source pulumi.StringInput }
The set of arguments for constructing a SourceIamMember resource.
func (SourceIamMemberArgs) ElementType ¶ added in v6.42.0
func (SourceIamMemberArgs) ElementType() reflect.Type
type SourceIamMemberArray ¶ added in v6.42.0
type SourceIamMemberArray []SourceIamMemberInput
func (SourceIamMemberArray) ElementType ¶ added in v6.42.0
func (SourceIamMemberArray) ElementType() reflect.Type
func (SourceIamMemberArray) ToSourceIamMemberArrayOutput ¶ added in v6.42.0
func (i SourceIamMemberArray) ToSourceIamMemberArrayOutput() SourceIamMemberArrayOutput
func (SourceIamMemberArray) ToSourceIamMemberArrayOutputWithContext ¶ added in v6.42.0
func (i SourceIamMemberArray) ToSourceIamMemberArrayOutputWithContext(ctx context.Context) SourceIamMemberArrayOutput
type SourceIamMemberArrayInput ¶ added in v6.42.0
type SourceIamMemberArrayInput interface { pulumi.Input ToSourceIamMemberArrayOutput() SourceIamMemberArrayOutput ToSourceIamMemberArrayOutputWithContext(context.Context) SourceIamMemberArrayOutput }
SourceIamMemberArrayInput is an input type that accepts SourceIamMemberArray and SourceIamMemberArrayOutput values. You can construct a concrete instance of `SourceIamMemberArrayInput` via:
SourceIamMemberArray{ SourceIamMemberArgs{...} }
type SourceIamMemberArrayOutput ¶ added in v6.42.0
type SourceIamMemberArrayOutput struct{ *pulumi.OutputState }
func (SourceIamMemberArrayOutput) ElementType ¶ added in v6.42.0
func (SourceIamMemberArrayOutput) ElementType() reflect.Type
func (SourceIamMemberArrayOutput) Index ¶ added in v6.42.0
func (o SourceIamMemberArrayOutput) Index(i pulumi.IntInput) SourceIamMemberOutput
func (SourceIamMemberArrayOutput) ToSourceIamMemberArrayOutput ¶ added in v6.42.0
func (o SourceIamMemberArrayOutput) ToSourceIamMemberArrayOutput() SourceIamMemberArrayOutput
func (SourceIamMemberArrayOutput) ToSourceIamMemberArrayOutputWithContext ¶ added in v6.42.0
func (o SourceIamMemberArrayOutput) ToSourceIamMemberArrayOutputWithContext(ctx context.Context) SourceIamMemberArrayOutput
type SourceIamMemberCondition ¶ added in v6.42.0
type SourceIamMemberConditionArgs ¶ added in v6.42.0
type SourceIamMemberConditionArgs struct { // The description of the source (max of 1024 characters). Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (SourceIamMemberConditionArgs) ElementType ¶ added in v6.42.0
func (SourceIamMemberConditionArgs) ElementType() reflect.Type
func (SourceIamMemberConditionArgs) ToSourceIamMemberConditionOutput ¶ added in v6.42.0
func (i SourceIamMemberConditionArgs) ToSourceIamMemberConditionOutput() SourceIamMemberConditionOutput
func (SourceIamMemberConditionArgs) ToSourceIamMemberConditionOutputWithContext ¶ added in v6.42.0
func (i SourceIamMemberConditionArgs) ToSourceIamMemberConditionOutputWithContext(ctx context.Context) SourceIamMemberConditionOutput
func (SourceIamMemberConditionArgs) ToSourceIamMemberConditionPtrOutput ¶ added in v6.42.0
func (i SourceIamMemberConditionArgs) ToSourceIamMemberConditionPtrOutput() SourceIamMemberConditionPtrOutput
func (SourceIamMemberConditionArgs) ToSourceIamMemberConditionPtrOutputWithContext ¶ added in v6.42.0
func (i SourceIamMemberConditionArgs) ToSourceIamMemberConditionPtrOutputWithContext(ctx context.Context) SourceIamMemberConditionPtrOutput
type SourceIamMemberConditionInput ¶ added in v6.42.0
type SourceIamMemberConditionInput interface { pulumi.Input ToSourceIamMemberConditionOutput() SourceIamMemberConditionOutput ToSourceIamMemberConditionOutputWithContext(context.Context) SourceIamMemberConditionOutput }
SourceIamMemberConditionInput is an input type that accepts SourceIamMemberConditionArgs and SourceIamMemberConditionOutput values. You can construct a concrete instance of `SourceIamMemberConditionInput` via:
SourceIamMemberConditionArgs{...}
type SourceIamMemberConditionOutput ¶ added in v6.42.0
type SourceIamMemberConditionOutput struct{ *pulumi.OutputState }
func (SourceIamMemberConditionOutput) Description ¶ added in v6.42.0
func (o SourceIamMemberConditionOutput) Description() pulumi.StringPtrOutput
The description of the source (max of 1024 characters).
func (SourceIamMemberConditionOutput) ElementType ¶ added in v6.42.0
func (SourceIamMemberConditionOutput) ElementType() reflect.Type
func (SourceIamMemberConditionOutput) Expression ¶ added in v6.42.0
func (o SourceIamMemberConditionOutput) Expression() pulumi.StringOutput
func (SourceIamMemberConditionOutput) Title ¶ added in v6.42.0
func (o SourceIamMemberConditionOutput) Title() pulumi.StringOutput
func (SourceIamMemberConditionOutput) ToSourceIamMemberConditionOutput ¶ added in v6.42.0
func (o SourceIamMemberConditionOutput) ToSourceIamMemberConditionOutput() SourceIamMemberConditionOutput
func (SourceIamMemberConditionOutput) ToSourceIamMemberConditionOutputWithContext ¶ added in v6.42.0
func (o SourceIamMemberConditionOutput) ToSourceIamMemberConditionOutputWithContext(ctx context.Context) SourceIamMemberConditionOutput
func (SourceIamMemberConditionOutput) ToSourceIamMemberConditionPtrOutput ¶ added in v6.42.0
func (o SourceIamMemberConditionOutput) ToSourceIamMemberConditionPtrOutput() SourceIamMemberConditionPtrOutput
func (SourceIamMemberConditionOutput) ToSourceIamMemberConditionPtrOutputWithContext ¶ added in v6.42.0
func (o SourceIamMemberConditionOutput) ToSourceIamMemberConditionPtrOutputWithContext(ctx context.Context) SourceIamMemberConditionPtrOutput
type SourceIamMemberConditionPtrInput ¶ added in v6.42.0
type SourceIamMemberConditionPtrInput interface { pulumi.Input ToSourceIamMemberConditionPtrOutput() SourceIamMemberConditionPtrOutput ToSourceIamMemberConditionPtrOutputWithContext(context.Context) SourceIamMemberConditionPtrOutput }
SourceIamMemberConditionPtrInput is an input type that accepts SourceIamMemberConditionArgs, SourceIamMemberConditionPtr and SourceIamMemberConditionPtrOutput values. You can construct a concrete instance of `SourceIamMemberConditionPtrInput` via:
SourceIamMemberConditionArgs{...} or: nil
func SourceIamMemberConditionPtr ¶ added in v6.42.0
func SourceIamMemberConditionPtr(v *SourceIamMemberConditionArgs) SourceIamMemberConditionPtrInput
type SourceIamMemberConditionPtrOutput ¶ added in v6.42.0
type SourceIamMemberConditionPtrOutput struct{ *pulumi.OutputState }
func (SourceIamMemberConditionPtrOutput) Description ¶ added in v6.42.0
func (o SourceIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
The description of the source (max of 1024 characters).
func (SourceIamMemberConditionPtrOutput) Elem ¶ added in v6.42.0
func (o SourceIamMemberConditionPtrOutput) Elem() SourceIamMemberConditionOutput
func (SourceIamMemberConditionPtrOutput) ElementType ¶ added in v6.42.0
func (SourceIamMemberConditionPtrOutput) ElementType() reflect.Type
func (SourceIamMemberConditionPtrOutput) Expression ¶ added in v6.42.0
func (o SourceIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (SourceIamMemberConditionPtrOutput) Title ¶ added in v6.42.0
func (o SourceIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
func (SourceIamMemberConditionPtrOutput) ToSourceIamMemberConditionPtrOutput ¶ added in v6.42.0
func (o SourceIamMemberConditionPtrOutput) ToSourceIamMemberConditionPtrOutput() SourceIamMemberConditionPtrOutput
func (SourceIamMemberConditionPtrOutput) ToSourceIamMemberConditionPtrOutputWithContext ¶ added in v6.42.0
func (o SourceIamMemberConditionPtrOutput) ToSourceIamMemberConditionPtrOutputWithContext(ctx context.Context) SourceIamMemberConditionPtrOutput
type SourceIamMemberInput ¶ added in v6.42.0
type SourceIamMemberInput interface { pulumi.Input ToSourceIamMemberOutput() SourceIamMemberOutput ToSourceIamMemberOutputWithContext(ctx context.Context) SourceIamMemberOutput }
type SourceIamMemberMap ¶ added in v6.42.0
type SourceIamMemberMap map[string]SourceIamMemberInput
func (SourceIamMemberMap) ElementType ¶ added in v6.42.0
func (SourceIamMemberMap) ElementType() reflect.Type
func (SourceIamMemberMap) ToSourceIamMemberMapOutput ¶ added in v6.42.0
func (i SourceIamMemberMap) ToSourceIamMemberMapOutput() SourceIamMemberMapOutput
func (SourceIamMemberMap) ToSourceIamMemberMapOutputWithContext ¶ added in v6.42.0
func (i SourceIamMemberMap) ToSourceIamMemberMapOutputWithContext(ctx context.Context) SourceIamMemberMapOutput
type SourceIamMemberMapInput ¶ added in v6.42.0
type SourceIamMemberMapInput interface { pulumi.Input ToSourceIamMemberMapOutput() SourceIamMemberMapOutput ToSourceIamMemberMapOutputWithContext(context.Context) SourceIamMemberMapOutput }
SourceIamMemberMapInput is an input type that accepts SourceIamMemberMap and SourceIamMemberMapOutput values. You can construct a concrete instance of `SourceIamMemberMapInput` via:
SourceIamMemberMap{ "key": SourceIamMemberArgs{...} }
type SourceIamMemberMapOutput ¶ added in v6.42.0
type SourceIamMemberMapOutput struct{ *pulumi.OutputState }
func (SourceIamMemberMapOutput) ElementType ¶ added in v6.42.0
func (SourceIamMemberMapOutput) ElementType() reflect.Type
func (SourceIamMemberMapOutput) MapIndex ¶ added in v6.42.0
func (o SourceIamMemberMapOutput) MapIndex(k pulumi.StringInput) SourceIamMemberOutput
func (SourceIamMemberMapOutput) ToSourceIamMemberMapOutput ¶ added in v6.42.0
func (o SourceIamMemberMapOutput) ToSourceIamMemberMapOutput() SourceIamMemberMapOutput
func (SourceIamMemberMapOutput) ToSourceIamMemberMapOutputWithContext ¶ added in v6.42.0
func (o SourceIamMemberMapOutput) ToSourceIamMemberMapOutputWithContext(ctx context.Context) SourceIamMemberMapOutput
type SourceIamMemberOutput ¶ added in v6.42.0
type SourceIamMemberOutput struct{ *pulumi.OutputState }
func (SourceIamMemberOutput) Condition ¶ added in v6.42.0
func (o SourceIamMemberOutput) Condition() SourceIamMemberConditionPtrOutput
func (SourceIamMemberOutput) ElementType ¶ added in v6.42.0
func (SourceIamMemberOutput) ElementType() reflect.Type
func (SourceIamMemberOutput) Etag ¶ added in v6.42.0
func (o SourceIamMemberOutput) Etag() pulumi.StringOutput
func (SourceIamMemberOutput) Member ¶ added in v6.42.0
func (o SourceIamMemberOutput) Member() pulumi.StringOutput
func (SourceIamMemberOutput) Organization ¶ added in v6.42.0
func (o SourceIamMemberOutput) Organization() pulumi.StringOutput
The organization whose Cloud Security Command Center the Source lives in.
func (SourceIamMemberOutput) Role ¶ added in v6.42.0
func (o SourceIamMemberOutput) Role() pulumi.StringOutput
func (SourceIamMemberOutput) Source ¶ added in v6.42.0
func (o SourceIamMemberOutput) Source() pulumi.StringOutput
func (SourceIamMemberOutput) ToSourceIamMemberOutput ¶ added in v6.42.0
func (o SourceIamMemberOutput) ToSourceIamMemberOutput() SourceIamMemberOutput
func (SourceIamMemberOutput) ToSourceIamMemberOutputWithContext ¶ added in v6.42.0
func (o SourceIamMemberOutput) ToSourceIamMemberOutputWithContext(ctx context.Context) SourceIamMemberOutput
type SourceIamMemberState ¶ added in v6.42.0
type SourceIamMemberState struct { Condition SourceIamMemberConditionPtrInput Etag pulumi.StringPtrInput Member pulumi.StringPtrInput // The organization whose Cloud Security Command Center the Source // lives in. Organization pulumi.StringPtrInput Role pulumi.StringPtrInput Source pulumi.StringPtrInput }
func (SourceIamMemberState) ElementType ¶ added in v6.42.0
func (SourceIamMemberState) ElementType() reflect.Type
type SourceIamPolicy ¶ added in v6.42.0
type SourceIamPolicy struct { pulumi.CustomResourceState Etag pulumi.StringOutput `pulumi:"etag"` // The organization whose Cloud Security Command Center the Source // lives in. Organization pulumi.StringOutput `pulumi:"organization"` PolicyData pulumi.StringOutput `pulumi:"policyData"` Source pulumi.StringOutput `pulumi:"source"` }
A Cloud Security Command Center's (Cloud SCC) finding source. A finding source is an entity or a mechanism that can produce a finding. A source is like a container of findings that come from the same scanner, logger, monitor, etc.
To get more information about Source, see:
* [API documentation](https://cloud.google.com/security-command-center/docs/reference/rest/v1/organizations.sources) * How-to Guides
- [Official Documentation](https://cloud.google.com/security-command-center/docs)
## Example Usage ### Scc Source Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/securitycenter" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := securitycenter.NewSource(ctx, "customSource", &securitycenter.SourceArgs{ Description: pulumi.String("My custom Cloud Security Command Center Finding Source"), DisplayName: pulumi.String("My Source"), Organization: pulumi.String("123456789"), }) if err != nil { return err } return nil }) }
```
## Import
Source can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:securitycenter/sourceIamPolicy:SourceIamPolicy default organizations/{{organization}}/sources/{{name}}
```
```sh
$ pulumi import gcp:securitycenter/sourceIamPolicy:SourceIamPolicy default {{organization}}/{{name}}
```
func GetSourceIamPolicy ¶ added in v6.42.0
func GetSourceIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SourceIamPolicyState, opts ...pulumi.ResourceOption) (*SourceIamPolicy, error)
GetSourceIamPolicy gets an existing SourceIamPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSourceIamPolicy ¶ added in v6.42.0
func NewSourceIamPolicy(ctx *pulumi.Context, name string, args *SourceIamPolicyArgs, opts ...pulumi.ResourceOption) (*SourceIamPolicy, error)
NewSourceIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*SourceIamPolicy) ElementType ¶ added in v6.42.0
func (*SourceIamPolicy) ElementType() reflect.Type
func (*SourceIamPolicy) ToSourceIamPolicyOutput ¶ added in v6.42.0
func (i *SourceIamPolicy) ToSourceIamPolicyOutput() SourceIamPolicyOutput
func (*SourceIamPolicy) ToSourceIamPolicyOutputWithContext ¶ added in v6.42.0
func (i *SourceIamPolicy) ToSourceIamPolicyOutputWithContext(ctx context.Context) SourceIamPolicyOutput
type SourceIamPolicyArgs ¶ added in v6.42.0
type SourceIamPolicyArgs struct { // The organization whose Cloud Security Command Center the Source // lives in. Organization pulumi.StringInput PolicyData pulumi.StringInput Source pulumi.StringInput }
The set of arguments for constructing a SourceIamPolicy resource.
func (SourceIamPolicyArgs) ElementType ¶ added in v6.42.0
func (SourceIamPolicyArgs) ElementType() reflect.Type
type SourceIamPolicyArray ¶ added in v6.42.0
type SourceIamPolicyArray []SourceIamPolicyInput
func (SourceIamPolicyArray) ElementType ¶ added in v6.42.0
func (SourceIamPolicyArray) ElementType() reflect.Type
func (SourceIamPolicyArray) ToSourceIamPolicyArrayOutput ¶ added in v6.42.0
func (i SourceIamPolicyArray) ToSourceIamPolicyArrayOutput() SourceIamPolicyArrayOutput
func (SourceIamPolicyArray) ToSourceIamPolicyArrayOutputWithContext ¶ added in v6.42.0
func (i SourceIamPolicyArray) ToSourceIamPolicyArrayOutputWithContext(ctx context.Context) SourceIamPolicyArrayOutput
type SourceIamPolicyArrayInput ¶ added in v6.42.0
type SourceIamPolicyArrayInput interface { pulumi.Input ToSourceIamPolicyArrayOutput() SourceIamPolicyArrayOutput ToSourceIamPolicyArrayOutputWithContext(context.Context) SourceIamPolicyArrayOutput }
SourceIamPolicyArrayInput is an input type that accepts SourceIamPolicyArray and SourceIamPolicyArrayOutput values. You can construct a concrete instance of `SourceIamPolicyArrayInput` via:
SourceIamPolicyArray{ SourceIamPolicyArgs{...} }
type SourceIamPolicyArrayOutput ¶ added in v6.42.0
type SourceIamPolicyArrayOutput struct{ *pulumi.OutputState }
func (SourceIamPolicyArrayOutput) ElementType ¶ added in v6.42.0
func (SourceIamPolicyArrayOutput) ElementType() reflect.Type
func (SourceIamPolicyArrayOutput) Index ¶ added in v6.42.0
func (o SourceIamPolicyArrayOutput) Index(i pulumi.IntInput) SourceIamPolicyOutput
func (SourceIamPolicyArrayOutput) ToSourceIamPolicyArrayOutput ¶ added in v6.42.0
func (o SourceIamPolicyArrayOutput) ToSourceIamPolicyArrayOutput() SourceIamPolicyArrayOutput
func (SourceIamPolicyArrayOutput) ToSourceIamPolicyArrayOutputWithContext ¶ added in v6.42.0
func (o SourceIamPolicyArrayOutput) ToSourceIamPolicyArrayOutputWithContext(ctx context.Context) SourceIamPolicyArrayOutput
type SourceIamPolicyInput ¶ added in v6.42.0
type SourceIamPolicyInput interface { pulumi.Input ToSourceIamPolicyOutput() SourceIamPolicyOutput ToSourceIamPolicyOutputWithContext(ctx context.Context) SourceIamPolicyOutput }
type SourceIamPolicyMap ¶ added in v6.42.0
type SourceIamPolicyMap map[string]SourceIamPolicyInput
func (SourceIamPolicyMap) ElementType ¶ added in v6.42.0
func (SourceIamPolicyMap) ElementType() reflect.Type
func (SourceIamPolicyMap) ToSourceIamPolicyMapOutput ¶ added in v6.42.0
func (i SourceIamPolicyMap) ToSourceIamPolicyMapOutput() SourceIamPolicyMapOutput
func (SourceIamPolicyMap) ToSourceIamPolicyMapOutputWithContext ¶ added in v6.42.0
func (i SourceIamPolicyMap) ToSourceIamPolicyMapOutputWithContext(ctx context.Context) SourceIamPolicyMapOutput
type SourceIamPolicyMapInput ¶ added in v6.42.0
type SourceIamPolicyMapInput interface { pulumi.Input ToSourceIamPolicyMapOutput() SourceIamPolicyMapOutput ToSourceIamPolicyMapOutputWithContext(context.Context) SourceIamPolicyMapOutput }
SourceIamPolicyMapInput is an input type that accepts SourceIamPolicyMap and SourceIamPolicyMapOutput values. You can construct a concrete instance of `SourceIamPolicyMapInput` via:
SourceIamPolicyMap{ "key": SourceIamPolicyArgs{...} }
type SourceIamPolicyMapOutput ¶ added in v6.42.0
type SourceIamPolicyMapOutput struct{ *pulumi.OutputState }
func (SourceIamPolicyMapOutput) ElementType ¶ added in v6.42.0
func (SourceIamPolicyMapOutput) ElementType() reflect.Type
func (SourceIamPolicyMapOutput) MapIndex ¶ added in v6.42.0
func (o SourceIamPolicyMapOutput) MapIndex(k pulumi.StringInput) SourceIamPolicyOutput
func (SourceIamPolicyMapOutput) ToSourceIamPolicyMapOutput ¶ added in v6.42.0
func (o SourceIamPolicyMapOutput) ToSourceIamPolicyMapOutput() SourceIamPolicyMapOutput
func (SourceIamPolicyMapOutput) ToSourceIamPolicyMapOutputWithContext ¶ added in v6.42.0
func (o SourceIamPolicyMapOutput) ToSourceIamPolicyMapOutputWithContext(ctx context.Context) SourceIamPolicyMapOutput
type SourceIamPolicyOutput ¶ added in v6.42.0
type SourceIamPolicyOutput struct{ *pulumi.OutputState }
func (SourceIamPolicyOutput) ElementType ¶ added in v6.42.0
func (SourceIamPolicyOutput) ElementType() reflect.Type
func (SourceIamPolicyOutput) Etag ¶ added in v6.42.0
func (o SourceIamPolicyOutput) Etag() pulumi.StringOutput
func (SourceIamPolicyOutput) Organization ¶ added in v6.42.0
func (o SourceIamPolicyOutput) Organization() pulumi.StringOutput
The organization whose Cloud Security Command Center the Source lives in.
func (SourceIamPolicyOutput) PolicyData ¶ added in v6.42.0
func (o SourceIamPolicyOutput) PolicyData() pulumi.StringOutput
func (SourceIamPolicyOutput) Source ¶ added in v6.42.0
func (o SourceIamPolicyOutput) Source() pulumi.StringOutput
func (SourceIamPolicyOutput) ToSourceIamPolicyOutput ¶ added in v6.42.0
func (o SourceIamPolicyOutput) ToSourceIamPolicyOutput() SourceIamPolicyOutput
func (SourceIamPolicyOutput) ToSourceIamPolicyOutputWithContext ¶ added in v6.42.0
func (o SourceIamPolicyOutput) ToSourceIamPolicyOutputWithContext(ctx context.Context) SourceIamPolicyOutput
type SourceIamPolicyState ¶ added in v6.42.0
type SourceIamPolicyState struct { Etag pulumi.StringPtrInput // The organization whose Cloud Security Command Center the Source // lives in. Organization pulumi.StringPtrInput PolicyData pulumi.StringPtrInput Source pulumi.StringPtrInput }
func (SourceIamPolicyState) ElementType ¶ added in v6.42.0
func (SourceIamPolicyState) ElementType() reflect.Type
type SourceInput ¶
type SourceInput interface { pulumi.Input ToSourceOutput() SourceOutput ToSourceOutputWithContext(ctx context.Context) SourceOutput }
type SourceMap ¶
type SourceMap map[string]SourceInput
func (SourceMap) ElementType ¶
func (SourceMap) ToSourceMapOutput ¶
func (i SourceMap) ToSourceMapOutput() SourceMapOutput
func (SourceMap) ToSourceMapOutputWithContext ¶
func (i SourceMap) ToSourceMapOutputWithContext(ctx context.Context) SourceMapOutput
type SourceMapInput ¶
type SourceMapInput interface { pulumi.Input ToSourceMapOutput() SourceMapOutput ToSourceMapOutputWithContext(context.Context) SourceMapOutput }
SourceMapInput is an input type that accepts SourceMap and SourceMapOutput values. You can construct a concrete instance of `SourceMapInput` via:
SourceMap{ "key": SourceArgs{...} }
type SourceMapOutput ¶
type SourceMapOutput struct{ *pulumi.OutputState }
func (SourceMapOutput) ElementType ¶
func (SourceMapOutput) ElementType() reflect.Type
func (SourceMapOutput) MapIndex ¶
func (o SourceMapOutput) MapIndex(k pulumi.StringInput) SourceOutput
func (SourceMapOutput) ToSourceMapOutput ¶
func (o SourceMapOutput) ToSourceMapOutput() SourceMapOutput
func (SourceMapOutput) ToSourceMapOutputWithContext ¶
func (o SourceMapOutput) ToSourceMapOutputWithContext(ctx context.Context) SourceMapOutput
type SourceOutput ¶
type SourceOutput struct{ *pulumi.OutputState }
func (SourceOutput) Description ¶ added in v6.23.0
func (o SourceOutput) Description() pulumi.StringPtrOutput
The description of the source (max of 1024 characters).
func (SourceOutput) DisplayName ¶ added in v6.23.0
func (o SourceOutput) DisplayName() pulumi.StringOutput
The source’s display name. A source’s display name must be unique amongst its siblings, for example, two sources with the same parent can't share the same display name. The display name must start and end with a letter or digit, may contain letters, digits, spaces, hyphens, and underscores, and can be no longer than 32 characters.
func (SourceOutput) ElementType ¶
func (SourceOutput) ElementType() reflect.Type
func (SourceOutput) Name ¶ added in v6.23.0
func (o SourceOutput) Name() pulumi.StringOutput
The resource name of this source, in the format 'organizations/{{organization}}/sources/{{source}}'.
func (SourceOutput) Organization ¶ added in v6.23.0
func (o SourceOutput) Organization() pulumi.StringOutput
The organization whose Cloud Security Command Center the Source lives in.
func (SourceOutput) ToSourceOutput ¶
func (o SourceOutput) ToSourceOutput() SourceOutput
func (SourceOutput) ToSourceOutputWithContext ¶
func (o SourceOutput) ToSourceOutputWithContext(ctx context.Context) SourceOutput
type SourceState ¶
type SourceState struct { // The description of the source (max of 1024 characters). Description pulumi.StringPtrInput // The source’s display name. A source’s display name must be unique // amongst its siblings, for example, two sources with the same parent // can't share the same display name. The display name must start and end // with a letter or digit, may contain letters, digits, spaces, hyphens, // and underscores, and can be no longer than 32 characters. DisplayName pulumi.StringPtrInput // The resource name of this source, in the format 'organizations/{{organization}}/sources/{{source}}'. Name pulumi.StringPtrInput // The organization whose Cloud Security Command Center the Source // lives in. Organization pulumi.StringPtrInput }
func (SourceState) ElementType ¶
func (SourceState) ElementType() reflect.Type